Dark soft indigo
#402A7E
#402A7E colour
#402A7E is a dark, clear purple. The closest everyday name is Dark Slate Blue (#483D8B).
- HEX
#402a7e - RGB
rgb(64 42 126) - HSL
hsl(255.7 50% 32.9%) - HSV / HSB
hsv(255.7 66.7% 49.4%) - HWB
hwb(255.7 16.5% 50.6%) - OKLCH
oklch(36.28% 0.1349 290.06) - CIELAB
lab(23.89% 27.44 -45.02) - CMYK
cmyk(49% 67% 0% 51%)
CMYK is an approximation without a print profile. Name: generated description, not an official name.
Text and contrast
White text
11.34:1 · AA
Black text
1.85:1 · Fails
On white
11.34:1 · AAA
On black
1.85: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 #402A7E · Turn it into a brand palette