Huebook

Midnight Escapade to Purple Noir Gradient

CSS

background: linear-gradient(90deg, #2b3458 0%, #322c56 100%);

From Midnight Escapade (#2B3458) to Purple Noir (#322C56). The two hues are 21° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Midnight Escapade#2B345843, 52, 88228°, 34%, 26%51, 41, 0, 65
25% (near Midnight Escapade)#2D325845, 50, 88233°, 32%, 26%49, 43, 0, 65
50% (near Deep Sea Base)#2F305747, 48, 87239°, 30%, 26%46, 45, 0, 66
75% (near Purple Noir)#302E5748, 46, 87243°, 31%, 26%45, 47, 0, 66
Purple Noir#322C5650, 44, 86249°, 32%, 25%42, 49, 0, 66

Halfway along, the gradient is #2F3057, closest to the named color Deep Sea Base. The stops are mixed in RGB, the way browsers draw a linear gradient by default.

Text on this gradient

White text reads best on both ends, so one text color works across the whole gradient. The two end colors have a contrast ratio of 1.06:1, so the change is gentle.

Other ways to use it

Gradients like this work well for page headers, buttons, cards and slide backgrounds. Keep body text on a solid color for the best readability.

Questions

What are the HEX codes of the Midnight Escapade to Purple Noir gradient?

It starts at #2B3458 (Midnight Escapade) and ends at #322C56 (Purple Noir), with #2F3057 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #2b3458, #322c56) runs from Purple Noir on the left to Midnight Escapade on the right.