Skip to the color picker

#402b6d color: Her Highness

#402b6d is rgb(64, 43, 109) in RGB and oklch(35.08% 0.11004 294.746) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

259°
100%

35.1%
0.110
295°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Indigo
  • indigo-900
  • Black 57%

Inside sRGB: displays the same on any screen.

White text
11.77: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 #402b6d

#402b6d is a soft dark violet color. In OKLCH it has 35.1% lightness, 0.11 chroma and a hue of 295°.

Inside sRGB: displays the same on any screen.

White text on it reaches 11.77: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: #402b6d mixed with white

Darker: #402b6d mixed with black

Calmer: #402b6d with less saturation

Similar named colors

Colors that go with #402b6d

Complementary
Analogous
Triadic
Split

Questions about #402b6d

What color is #402b6d?

#402b6d is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 43, 109), in HSL hsl(259.09, 43.42%, 29.8%) and in OKLCH oklch(35.08% 0.11004 294.746).

What colors go well with #402b6d?

The complementary color of #402b6d is #3a4000. For a calmer combination use the analogous colors #1d3673 and #56225a. The triadic partners are #642500 and #004938.

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

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

Is #402b6d a warm or cool color?

#402b6d is a cool color. In OKLCH its hue is 295 degrees, its lightness 35.1% and its chroma 0.11.