Skip to the color picker

#402b52 color: Violet Purple

#402b52 is rgb(64, 43, 82) in RGB and oklch(33.233% 0.07111 307.779) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

272°
100%

33.2%
0.071
308°
  • Purple
  • Dark
  • Soft
  • Neutral
  • ≈ Graphite
  • mauve-700
  • Black 68%

Inside sRGB: displays the same on any screen.

White text
12.46:1Readable · AA
Lc -102
Black text
1.69: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 #402b52

#402b52 is a soft dark purple color. In OKLCH it has 33.2% lightness, 0.071 chroma and a hue of 308°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Violet Purple (#3a2f52). In Tailwind CSS the closest color is mauve-700.

More dark purple colors

Lighter: #402b52 mixed with white

Darker: #402b52 mixed with black

  1. 000000

Calmer: #402b52 with less saturation

Similar named colors

Colors that go with #402b52

Complementary
Analogous
Triadic
Split

Questions about #402b52

What color is #402b52?

#402b52 is soft dark purple. The closest named color is Violet Purple. In RGB it is rgb(64, 43, 82), in HSL hsl(272.31, 31.2%, 24.51%) and in OKLCH oklch(33.233% 0.07111 307.779).

What colors go well with #402b52?

The complementary color of #402b52 is #2b3d10. For a calmer combination use the analogous colors #2e315a and #4d2643. The triadic partners are #4e2e02 and #00413d.

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

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

Is #402b52 a warm or cool color?

#402b52 is a neutral color. In OKLCH its hue is 308 degrees, its lightness 33.2% and its chroma 0.071.