Skip to the color picker

#402a6a color: Her Highness

#402a6a is rgb(64, 42, 106) in RGB and oklch(34.674% 0.10744 296.193) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

261°
100%

34.7%
0.107
296°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Indigo
  • indigo-900
  • Black 58%

Inside sRGB: displays the same on any screen.

White text
11.95:1Readable · AA
Lc -101
Black text
1.76: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 #402a6a

#402a6a is a soft dark violet color. In OKLCH it has 34.7% lightness, 0.107 chroma and a hue of 296°.

Inside sRGB: displays the same on any screen.

White text on it reaches 11.95:1 contrast and black text 1.76: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: #402a6a mixed with white

Darker: #402a6a mixed with black

  1. 000000

Calmer: #402a6a with less saturation

Similar named colors

Colors that go with #402a6a

Complementary
Analogous
Triadic
Split

Questions about #402a6a

What color is #402a6a?

#402a6a is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 42, 106), in HSL hsl(260.63, 43.24%, 29.02%) and in OKLCH oklch(34.674% 0.10744 296.193).

What colors go well with #402a6a?

The complementary color of #402a6a is #383f00. For a calmer combination use the analogous colors #1f3571 and #552157. The triadic partners are #612600 and #004738.

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

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

Is #402a6a a warm or cool color?

#402a6a is a cool color. In OKLCH its hue is 296 degrees, its lightness 34.7% and its chroma 0.107.