Huebook

Gentian Blue to Wild Violet Gradient

CSS

background: linear-gradient(90deg, #312297 0%, #63209b 100%);

From Gentian Blue (#312297) to Wild Violet (#63209B). The two hues are 25° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Gentian Blue#31229749, 34, 151248°, 63%, 36%68, 77, 0, 41
25% (near Gentian Blue)#3E229862, 34, 152254°, 63%, 36%59, 78, 0, 40
50% (near Galactic Purple)#4A219974, 33, 153261°, 65%, 36%52, 78, 0, 40
75% (near Wild Violet)#57219A87, 33, 154267°, 65%, 37%44, 79, 0, 40
Wild Violet#63209B99, 32, 155273°, 66%, 37%36, 79, 0, 39

Halfway along, the gradient is #4A2199, closest to the named color Galactic Purple. 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.22: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 Gentian Blue to Wild Violet gradient?

It starts at #312297 (Gentian Blue) and ends at #63209B (Wild Violet), with #4A2199 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #312297, #63209b) runs from Wild Violet on the left to Gentian Blue on the right.