Skip to the color picker

#402778 color: Clear Purple

#402778 is rgb(64, 39, 120) in RGB and oklch(35.287% 0.13112 292.595) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

259°
100%

35.3%
0.131
293°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Indigo
  • indigo-900
  • Black 53%

Inside sRGB: displays the same on any screen.

White text
11.80: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 #402778

#402778 is a soft dark violet color. In OKLCH it has 35.3% lightness, 0.131 chroma and a hue of 293°.

Inside sRGB: displays the same on any screen.

White text on it reaches 11.8:1 contrast and black text 1.78:1, so white text reads better.

The closest named color is Clear Purple (#412a7a). In Tailwind CSS the closest color is indigo-900.

More dark violet colors

Lighter: #402778 mixed with white

Darker: #402778 mixed with black

Calmer: #402778 with less saturation

Similar named colors

Colors that go with #402778

Complementary
Analogous
Triadic
Split

Questions about #402778

What color is #402778?

#402778 is soft dark violet. The closest named color is Clear Purple. In RGB it is rgb(64, 39, 120), in HSL hsl(258.52, 50.94%, 31.18%) and in OKLCH oklch(35.287% 0.13112 292.595).

What colors go well with #402778?

The complementary color of #402778 is #3d3f00. For a calmer combination use the analogous colors #12357e and #591b62. The triadic partners are #662400 and #004a36.

Is white or black text more readable on #402778?

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

Is #402778 a warm or cool color?

#402778 is a cool color. In OKLCH its hue is 293 degrees, its lightness 35.3% and its chroma 0.131.