Dark violet
#400C7E
#400C7E colour
#400C7E is a dark, clear purple. The closest everyday name is Indigo (#4B0082).
- HEX
#400c7e - RGB
rgb(64 12 126) - HSL
hsl(267.4 82.6% 27.1%) - HSV / HSB
hsv(267.4 90.5% 49.4%) - HWB
hwb(267.4 4.7% 50.6%) - OKLCH
oklch(32.75% 0.1668 295.51) - CIELAB
lab(18.67% 41.42 -53.54) - CMYK
cmyk(49% 90% 0% 51%)
CMYK is an approximation without a print profile. Name: generated description, not an official name.
Text and contrast
White text
13.35:1 · AA
Black text
1.57:1 · Fails
On white
13.35:1 · AAA
On black
1.57: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 #400C7E · Turn it into a brand palette