Skip to the color picker

#402e6b color: Her Highness

#402e6b is rgb(64, 46, 107) in RGB and oklch(35.482% 0.10226 294.186) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

258°
100%

35.5%
0.102
294°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Indigo
  • indigo-900
  • Black 58%

Inside sRGB: displays the same on any screen.

White text
11.53:1Readable · AA
Lc -100
Black text
1.82: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 #402e6b

#402e6b is a soft dark violet color. In OKLCH it has 35.5% lightness, 0.102 chroma and a hue of 294°.

Inside sRGB: displays the same on any screen.

White text on it reaches 11.53:1 contrast and black text 1.82: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: #402e6b mixed with white

Darker: #402e6b mixed with black

  1. 000000

Calmer: #402e6b with less saturation

Similar named colors

Colors that go with #402e6b

Complementary
Analogous
Triadic
Split

Questions about #402e6b

What color is #402e6b?

#402e6b is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 46, 107), in HSL hsl(257.7, 39.87%, 30%) and in OKLCH oklch(35.482% 0.10226 294.186).

What colors go well with #402e6b?

The complementary color of #402e6b is #3c4000. For a calmer combination use the analogous colors #203871 and #552559. The triadic partners are #632800 and #004a38.

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

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

Is #402e6b a warm or cool color?

#402e6b is a cool color. In OKLCH its hue is 294 degrees, its lightness 35.5% and its chroma 0.102.