Skip to the color picker

#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

255°
100%

36.4%
0.133
290°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Indigo
  • indigo-900
  • Black 51%

Inside sRGB: displays the same on any screen.

White text
11.26:1Readable · AA
Lc -99
Black text
1.86:1Hard to read
Lc 8

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.

More dark violet colors

Lighter: #402b7e mixed with white

Darker: #402b7e mixed with black

Calmer: #402b7e with less saturation

Similar named colors

Colors that go with #402b7e

Complementary
Analogous
Triadic
Split

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.