Very dark soft indigo
#240158
#240158 colour
#240158 is a very dark, clear purple. The closest everyday name is Midnight Blue (#191970).
- HEX
#240158 - RGB
rgb(36 1 88) - HSL
hsl(264.1 97.8% 17.5%) - HSV / HSB
hsv(264.1 98.9% 34.5%) - HWB
hwb(264.1 0.4% 65.5%) - OKLCH
oklch(24.04% 0.1338 290.43) - CIELAB
lab(9.04% 33.39 -44.69) - CMYK
cmyk(59% 99% 0% 65%)
CMYK is an approximation without a print profile. Name: generated description, not an official name.
Text and contrast
White text
17.20:1 · AA
Black text
1.22:1 · Fails
On white
17.20:1 · AAA
On black
1.22: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 #240158 · Turn it into a brand palette