Very dark soft violet
#240342
#240342 colour
#240342 is a very dark, clear purple. The closest everyday name is Midnight Navy (#141C33).
- HEX
#240342 - RGB
rgb(36 3 66) - HSL
hsl(271.4 91.3% 13.5%) - HSV / HSB
hsv(271.4 95.5% 25.9%) - HWB
hwb(271.4 1.2% 74.1%) - OKLCH
oklch(21.7% 0.1076 301.43) - CIELAB
lab(7.12% 27.45 -32.6) - CMYK
cmyk(45% 95% 0% 74%)
CMYK is an approximation without a print profile. Name: generated description, not an official name.
Text and contrast
White text
17.99:1 · AA
Black text
1.16:1 · Fails
On white
17.99:1 · AAA
On black
1.16: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 #240342 · Turn it into a brand palette