Skip to the color picker

#2a1f4e color: Elderberry

#2a1f4e is rgb(42, 31, 78) in RGB and oklch(28.012% 0.08307 290.83) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

254°
100%

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

Inside sRGB: displays the same on any screen.

White text
14.95:1Readable · AA
Lc -104
Black text
1.40: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 #2a1f4e

#2a1f4e is a soft very dark violet color. In OKLCH it has 28% lightness, 0.083 chroma and a hue of 291°.

Inside sRGB: displays the same on any screen.

White text on it reaches 14.95:1 contrast and black text 1.4: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: #2a1f4e mixed with white

  1. 2a1f4e
  2. 3b335f
  3. 4e4770
  4. 625c81
  5. 767293
  6. 8c88a4
  7. a29fb6
  8. b8b6c8
  9. cfceda
  10. e7e6ec

Darker: #2a1f4e mixed with black

  1. 2a1f4e
  2. 231943
  3. 1c1438
  4. 160f2d
  5. 100a23
  6. 0a0619
  7. 05030f
  8. 020107
  9. 010002
  10. 000000

Calmer: #2a1f4e with less saturation

  1. 2a1f4e
  2. 2a214a
  3. 292247
  4. 292343
  5. 292440
  6. 29253c
  7. 292638
  8. 292734
  9. 292831
  10. 29282d

Questions about #2a1f4e

What color is #2a1f4e?

#2a1f4e is soft very dark violet. The closest named color is Elderberry. In RGB it is rgb(42, 31, 78), in HSL hsl(254.04, 43.12%, 21.37%) and in OKLCH oklch(28.012% 0.08307 290.83).

What colors go well with #2a1f4e?

The complementary color of #2a1f4e is #2b2c00. For a calmer combination use the analogous colors #0f2751 and #3b1841. The triadic partners are #471900 and #003424.

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

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

Is #2a1f4e a warm or cool color?

#2a1f4e is a cool color. In OKLCH its hue is 291 degrees, its lightness 28% and its chroma 0.083.