Huebook

Imperial Purple

Imperial Purple is a very dark, moderately saturated violet color with the hex code #5B3167 (hue 287°, saturation 36%, lightness 30%).

#5B3167
NameHEXRGBHSLCMYKOKLCH
Imperial Purple#5B316791, 49, 103287°, 36%, 30%12, 52, 0, 6039.0% 0.100 318

Contrast with white text 10.10:1, with black text 2.08:1 — use white text on Imperial Purple.

Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work

Adjust Imperial Purple

Move the sliders to make Imperial Purple lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.

Imperial Purple
  • HEX#5B3167
  • RGBrgb(91 49 103)
  • HSLhsl(287 36% 30%)

Variations of Imperial Purple

Text on Imperial Purple

White textThe quick brown fox10.10:1 · AA pass · AAA pass
Black textThe quick brown fox2.08:1 · AA fail · AAA fail

WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.

Imperial Purple with color blindness

Normal #5B3167
Protanopia #273F69
Deuteranopia #344365
Tritanopia #5B3947

How Imperial Purple appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.

Tints and shades

#EBDCEF
#CCA9D6
#AD75BD
#894A9C
#5C3168
#2E1934

Colors that go with Imperial Purple

Six color schemes built on Imperial Purple with classic harmony rules. The complementary scheme pairs it with Greenhouse (#3E6334), the color opposite it on the color wheel.

Nearest CSS named colors

Similar dark purple colors

Questions

What is the hex code for Imperial Purple?

#5B3167 — RGB 91, 49, 103, HSL 287°, 36%, 30%.

Is Imperial Purple a warm or cool color?

Cool — its hue sits at 287° on the color wheel.