Dark indigo
#331A7F
#331A7F colour
#331A7F is a dark, clear purple. The closest everyday name is Midnight Blue (#191970).
- HEX
#331a7f - RGB
rgb(51 26 127) - HSL
hsl(254.9 66% 30%) - HSV / HSB
hsv(254.9 79.5% 49.8%) - HWB
hwb(254.9 10.2% 50.2%) - OKLCH
oklch(32.74% 0.1564 285.18) - CIELAB
lab(19.07% 33.75 -53.59) - CMYK
cmyk(60% 80% 0% 50%)
CMYK is an approximation without a print profile. Name: generated description, not an official name.
Text and contrast
White text
13.16:1 · AA
Black text
1.59:1 · Fails
On white
13.16:1 · AAA
On black
1.59:1 · Fails
Colour harmonies
Complementary
Harmonies are calculated on the perceptual OKLCH hue wheel. Explore them on the colour wheel.
Shades and tints
Build a 50–950 scale from #331A7F · Turn it into a brand palette