Skip to the color picker

#402d6a color: Her Highness

#402d6a is rgb(64, 45, 106) in RGB and oklch(35.222% 0.10248 294.968) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

259°
100%

35.2%
0.102
295°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Indigo
  • indigo-900
  • Black 58%

Inside sRGB: displays the same on any screen.

White text
11.66:1Readable · AA
Lc -100
Black text
1.80:1Hard to read
Lc 7

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

#402d6a is a soft dark violet color. In OKLCH it has 35.2% lightness, 0.102 chroma and a hue of 295°.

Inside sRGB: displays the same on any screen.

White text on it reaches 11.66:1 contrast and black text 1.8: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: #402d6a mixed with white

Darker: #402d6a mixed with black

  1. 000000

Calmer: #402d6a with less saturation

Similar named colors

Colors that go with #402d6a

Complementary
Analogous
Triadic
Split

Questions about #402d6a

What color is #402d6a?

#402d6a is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 45, 106), in HSL hsl(258.69, 40.4%, 29.61%) and in OKLCH oklch(35.222% 0.10248 294.968).

What colors go well with #402d6a?

The complementary color of #402d6a is #3a4000. For a calmer combination use the analogous colors #203770 and #552458. The triadic partners are #622800 and #004938.

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

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

Is #402d6a a warm or cool color?

#402d6a is a cool color. In OKLCH its hue is 295 degrees, its lightness 35.2% and its chroma 0.102.