Skip to the color picker

#31254c color: Elderberry

#31254c is rgb(49, 37, 76) in RGB and oklch(29.874% 0.06959 296.111) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

258°
100%

29.9%
0.070
296°
  • Violet
  • Very dark
  • Soft
  • Cool
  • ≈ Graphite
  • blue-950
  • Black 70%

Inside sRGB: displays the same on any screen.

White text
14.00:1Readable · AA
Lc -104
Black text
1.50: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 #31254c

#31254c is a soft very dark violet color. In OKLCH it has 29.9% lightness, 0.07 chroma and a hue of 296°.

Inside sRGB: displays the same on any screen.

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

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

More very dark violet colors

Lighter: #31254c mixed with white

Darker: #31254c mixed with black

  1. 000000

Calmer: #31254c with less saturation

Similar named colors

Colors that go with #31254c

Complementary
Analogous
Triadic
Split

Questions about #31254c

What color is #31254c?

#31254c is soft very dark violet. The closest named color is Elderberry. In RGB it is rgb(49, 37, 76), in HSL hsl(258.46, 34.51%, 22.16%) and in OKLCH oklch(29.874% 0.06959 296.111).

What colors go well with #31254c?

The complementary color of #31254c is #2c3100. For a calmer combination use the analogous colors #1d2b50 and #3f2040. The triadic partners are #472303 and #00382c.

Is white or black text more readable on #31254c?

White text reads better on #31254c: white gives a contrast ratio of 14:1 and black gives 1.5:1. WCAG AA asks for at least 4.5:1 for body text.

Is #31254c a warm or cool color?

#31254c is a cool color. In OKLCH its hue is 296 degrees, its lightness 29.9% and its chroma 0.07.