Dark indigo
#31127A
#31127A colour
#31127A is a dark, clear purple. The closest everyday name is Midnight Blue (#191970).
- HEX
#31127a - RGB
rgb(49 18 122) - HSL
hsl(257.9 74.3% 27.5%) - HSV / HSB
hsv(257.9 85.2% 47.8%) - HWB
hwb(257.9 7.1% 52.2%) - OKLCH
oklch(31.09% 0.158 286.42) - CIELAB
lab(16.97% 35.96 -53.87) - CMYK
cmyk(60% 85% 0% 52%)
CMYK is an approximation without a print profile. Name: generated description, not an official name.
Text and contrast
White text
14.01:1 · AA
Black text
1.49:1 · Fails
On white
14.01:1 · AAA
On black
1.49: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 #31127A · Turn it into a brand palette