Dark indigo
#31157A
#31157A colour
#31157A is a dark, clear purple. The closest everyday name is Midnight Blue (#191970).
- HEX
#31157a - RGB
rgb(49 21 122) - HSL
hsl(256.6 70.6% 28%) - HSV / HSB
hsv(256.6 82.8% 47.8%) - HWB
hwb(256.6 8.2% 52.2%) - OKLCH
oklch(31.41% 0.1554 285.98) - CIELAB
lab(17.46% 34.6 -53.06) - CMYK
cmyk(60% 83% 0% 52%)
CMYK is an approximation without a print profile. Name: generated description, not an official name.
Text and contrast
White text
13.82:1 · AA
Black text
1.51:1 · Fails
On white
13.82:1 · AAA
On black
1.51: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 #31157A · Turn it into a brand palette