Huebook

Royal Night to Night Fever Gradient

CSS

background: linear-gradient(90deg, #2b3191 0%, #572e89 100%);

From Royal Night (#2B3191) to Night Fever (#572E89). The two hues are 31° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Royal Night#2B319143, 49, 145236°, 54%, 37%70, 66, 0, 43
25% (near Perfect Dark)#36308F54, 48, 143244°, 50%, 37%62, 66, 0, 44
50% (near Majestic Eggplant)#41308D65, 48, 141251°, 49%, 37%54, 66, 0, 45
75% (near Majestic Eggplant)#4C2F8B76, 47, 139259°, 49%, 36%45, 66, 0, 45
Night Fever#572E8987, 46, 137267°, 50%, 36%36, 66, 0, 46

Halfway along, the gradient is #41308D, closest to the named color Majestic Eggplant. 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.11: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.

Related gradients

Questions

What are the HEX codes of the Royal Night to Night Fever gradient?

It starts at #2B3191 (Royal Night) and ends at #572E89 (Night Fever), with #41308D in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #2b3191, #572e89) runs from Night Fever on the left to Royal Night on the right.