Huebook

Glimpse of Void to Perfect Dark Gradient

CSS

background: linear-gradient(90deg, #335588 0%, #313390 100%);

From Glimpse of Void (#335588) to Perfect Dark (#313390). The two hues are 23° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Glimpse of Void#33558851, 85, 136216°, 45%, 37%63, 38, 0, 47
25% (near Glimpse of Void)#334D8A51, 77, 138222°, 46%, 37%63, 44, 0, 46
50% (near Queen of the Night Shift)#32448C50, 68, 140228°, 47%, 37%64, 51, 0, 45
75% (near Perfect Dark)#323C8E50, 60, 142233°, 48%, 38%65, 58, 0, 44
Perfect Dark#31339049, 51, 144239°, 49%, 38%66, 65, 0, 44

Halfway along, the gradient is #32448C, closest to the named color Queen of the Night Shift. 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.39: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 Glimpse of Void to Perfect Dark gradient?

It starts at #335588 (Glimpse of Void) and ends at #313390 (Perfect Dark), with #32448C in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #335588, #313390) runs from Perfect Dark on the left to Glimpse of Void on the right.