Skip to the color picker

#402b6e color: Her Highness

#402b6e is rgb(64, 43, 110) in RGB and oklch(35.156% 0.11145 294.409) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

259°
100%

35.2%
0.111
294°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Indigo
  • indigo-900
  • Black 57%

Inside sRGB: displays the same on any screen.

White text
11.74:1Readable · AA
Lc -100
Black text
1.79:1Hard to read
Lc 0

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 #402b6e

#402b6e is a soft dark violet color. In OKLCH it has 35.2% lightness, 0.111 chroma and a hue of 294°.

Inside sRGB: displays the same on any screen.

White text on it reaches 11.74:1 contrast and black text 1.79:1, so white text reads better.

The closest named color is Her Highness (#432e6f). In Tailwind CSS the closest color is indigo-900.

More dark violet colors

Lighter: #402b6e mixed with white

Darker: #402b6e mixed with black

Calmer: #402b6e with less saturation

Similar named colors

Colors that go with #402b6e

Complementary
Analogous
Triadic
Split

Questions about #402b6e

What color is #402b6e?

#402b6e is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 43, 110), in HSL hsl(258.81, 43.79%, 30%) and in OKLCH oklch(35.156% 0.11145 294.409).

What colors go well with #402b6e?

The complementary color of #402b6e is #3b4000. For a calmer combination use the analogous colors #1c3674 and #56215b. The triadic partners are #642500 and #004938.

Is white or black text more readable on #402b6e?

White text reads better on #402b6e: white gives a contrast ratio of 11.74:1 and black gives 1.79:1. WCAG AA asks for at least 4.5:1 for body text.

Is #402b6e a warm or cool color?

#402b6e is a cool color. In OKLCH its hue is 294 degrees, its lightness 35.2% and its chroma 0.111.