Skip to the color picker

#31224d color: Elderberry

#31224d is rgb(49, 34, 77) in RGB and oklch(29.323% 0.07674 297.569) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

261°
100%

29.3%
0.077
298°
  • Violet
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • indigo-950
  • Black 70%

Inside sRGB: displays the same on any screen.

White text
14.32:1Readable · AA
Lc -104
Black text
1.47: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 #31224d

#31224d is a soft very dark violet color. In OKLCH it has 29.3% lightness, 0.077 chroma and a hue of 298°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Elderberry (#2e2249). In Tailwind CSS the closest color is indigo-950.

More very dark violet colors

Lighter: #31224d mixed with white

Darker: #31224d mixed with black

  1. 000000

Calmer: #31224d with less saturation

Similar named colors

Colors that go with #31224d

Complementary
Analogous
Triadic
Split

Questions about #31224d

What color is #31224d?

#31224d is soft very dark violet. The closest named color is Elderberry. In RGB it is rgb(49, 34, 77), in HSL hsl(260.93, 38.74%, 21.76%) and in OKLCH oklch(29.323% 0.07674 297.569).

What colors go well with #31224d?

The complementary color of #31224d is #293000. For a calmer combination use the analogous colors #1b2952 and #401c3f. The triadic partners are #472000 and #00382c.

Is white or black text more readable on #31224d?

White text reads better on #31224d: white gives a contrast ratio of 14.32:1 and black gives 1.47:1. WCAG AA asks for at least 4.5:1 for body text.

Is #31224d a warm or cool color?

#31224d is a cool color. In OKLCH its hue is 298 degrees, its lightness 29.3% and its chroma 0.077.