#402b7e color: Clear Purple
#402b7e is rgb(64, 43, 126) in RGB and oklch(36.445% 0.13349 289.765) in OKLCH. Every other format, shade and contrast value is below.
Read as HEX
- Ctrl Vpaste a color anywhere
- Spacerandom color
- Ccopy HEX
- Violet
- Dark
- Soft
- Cool
- ≈ Indigo
- indigo-900
- Black 51%
Inside sRGB: displays the same on any screen.
Shades
From lightest to darkest. Click a shade to use it.
Harmonies
Recent
Colors you stop on or copy appear here. They stay on this device.
About #402b7e
#402b7e is a soft dark violet color. In OKLCH it has 36.4% lightness, 0.133 chroma and a hue of 290°.
Inside sRGB: displays the same on any screen.
White text on it reaches 11.26:1 contrast and black text 1.86:1, so white text reads better.
The closest named color is Clear Purple (#412a7a). In Tailwind CSS the closest color is indigo-900.
Lighter: #402b7e mixed with white
Darker: #402b7e mixed with black
Calmer: #402b7e with less saturation
Similar named colors
Colors that go with #402b7e
Questions about #402b7e
What color is #402b7e?
#402b7e is soft dark violet. The closest named color is Clear Purple. In RGB it is rgb(64, 43, 126), in HSL hsl(255.18, 49.11%, 33.14%) and in OKLCH oklch(36.445% 0.13349 289.765).
What colors go well with #402b7e?
The complementary color of #402b7e is #424200. For a calmer combination use the analogous colors #093983 and #5b1e69. The triadic partners are #6d2300 and #004d36.
Is white or black text more readable on #402b7e?
White text reads better on #402b7e: white gives a contrast ratio of 11.26:1 and black gives 1.86:1. WCAG AA asks for at least 4.5:1 for body text.
Is #402b7e a warm or cool color?
#402b7e is a cool color. In OKLCH its hue is 290 degrees, its lightness 36.4% and its chroma 0.133.