Skip to the color picker

#2d1f4e color: Elderberry

#2d1f4e is rgb(45, 31, 78) in RGB and oklch(28.343% 0.08319 294.197) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

258°
100%

28.3%
0.083
294°
  • Violet
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • indigo-950
  • Black 69%

Inside sRGB: displays the same on any screen.

White text
14.81:1Readable · AA
Lc -104
Black text
1.42:1Hard to read
Lc 0

Shades

From lightest to darkest. Click a shade to use it.

Harmonies

Open as palette

Recent

Colors you stop on or copy appear here. They stay on this device.

About #2d1f4e

#2d1f4e is a soft very dark violet color. In OKLCH it has 28.3% lightness, 0.083 chroma and a hue of 294°.

Inside sRGB: displays the same on any screen.

White text on it reaches 14.81:1 contrast and black text 1.42: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: #2d1f4e mixed with white

  1. 2d1f4e
  2. 3e335f
  3. 514770
  4. 645c81
  5. 797292
  6. 8e88a4
  7. a39fb6
  8. b9b6c8
  9. d0ceda
  10. e7e6ec

Darker: #2d1f4e mixed with black

  1. 2d1f4e
  2. 261943
  3. 1f1438
  4. 180f2d
  5. 110a23
  6. 0b0619
  7. 06030f
  8. 020107
  9. 010002
  10. 000000

Calmer: #2d1f4e with less saturation

  1. 2d1f4e
  2. 2c214b
  3. 2c2247
  4. 2c2343
  5. 2b2540
  6. 2b263c
  7. 2b2739
  8. 2a2735
  9. 2a2831
  10. 2a292e

Questions about #2d1f4e

What color is #2d1f4e?

#2d1f4e is soft very dark violet. The closest named color is Elderberry. In RGB it is rgb(45, 31, 78), in HSL hsl(257.87, 43.12%, 21.37%) and in OKLCH oklch(28.343% 0.08319 294.197).

What colors go well with #2d1f4e?

The complementary color of #2d1f4e is #2a2d00. For a calmer combination use the analogous colors #142752 and #3d1840. The triadic partners are #471b00 and #003527.

Is white or black text more readable on #2d1f4e?

White text reads better on #2d1f4e: white gives a contrast ratio of 14.81:1 and black gives 1.42:1. WCAG AA asks for at least 4.5:1 for body text.

Is #2d1f4e a warm or cool color?

#2d1f4e is a cool color. In OKLCH its hue is 294 degrees, its lightness 28.3% and its chroma 0.083.