Skip to the color picker

#402f6c color: Her Highness

#402f6c is rgb(64, 47, 108) in RGB and oklch(35.743% 0.10205 293.408) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

257°
100%

35.7%
0.102
293°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Indigo
  • indigo-900
  • Black 58%

Inside sRGB: displays the same on any screen.

White text
11.41:1Readable · AA
Lc -100
Black text
1.84: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 #402f6c

#402f6c is a soft dark violet color. In OKLCH it has 35.7% lightness, 0.102 chroma and a hue of 293°.

Inside sRGB: displays the same on any screen.

White text on it reaches 11.41:1 contrast and black text 1.84: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: #402f6c mixed with white

Darker: #402f6c mixed with black

  1. 000000

Calmer: #402f6c with less saturation

Similar named colors

Colors that go with #402f6c

Complementary
Analogous
Triadic
Split

Questions about #402f6c

What color is #402f6c?

#402f6c is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 47, 108), in HSL hsl(256.72, 39.35%, 30.39%) and in OKLCH oklch(35.743% 0.10205 293.408).

What colors go well with #402f6c?

The complementary color of #402f6c is #3d4100. For a calmer combination use the analogous colors #1f3971 and #55265b. The triadic partners are #632900 and #004b38.

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

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

Is #402f6c a warm or cool color?

#402f6c is a cool color. In OKLCH its hue is 293 degrees, its lightness 35.7% and its chroma 0.102.