Skip to the color picker

#402b6b color: Her Highness

#402b6b is rgb(64, 43, 107) in RGB and oklch(34.929% 0.10721 295.441) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

260°
100%

34.9%
0.107
295°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Indigo
  • indigo-900
  • Black 58%

Inside sRGB: displays the same on any screen.

White text
11.83:1Readable · AA
Lc -100
Black text
1.78: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 #402b6b

#402b6b is a soft dark violet color. In OKLCH it has 34.9% lightness, 0.107 chroma and a hue of 295°.

Inside sRGB: displays the same on any screen.

White text on it reaches 11.83:1 contrast and black text 1.78: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: #402b6b mixed with white

Darker: #402b6b mixed with black

  1. 000000

Calmer: #402b6b with less saturation

Similar named colors

Colors that go with #402b6b

Complementary
Analogous
Triadic
Split

Questions about #402b6b

What color is #402b6b?

#402b6b is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 43, 107), in HSL hsl(259.69, 42.67%, 29.41%) and in OKLCH oklch(34.929% 0.10721 295.441).

What colors go well with #402b6b?

The complementary color of #402b6b is #393f00. For a calmer combination use the analogous colors #1f3671 and #552258. The triadic partners are #622600 and #004838.

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

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

Is #402b6b a warm or cool color?

#402b6b is a cool color. In OKLCH its hue is 295 degrees, its lightness 34.9% and its chroma 0.107.