#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
- Ctrl Vpaste a color anywhere
- Spacerandom color
- Ccopy HEX
- Violet
- Very dark
- Soft
- Cool
- ≈ Midnight blue
- indigo-950
- Black 69%
Inside sRGB: displays the same on any screen.
Shades
From lightest to darkest. Click a shade to use it.
Harmonies
Open as paletteRecent
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.
Lighter: #2a1f4e mixed with white
Darker: #2a1f4e mixed with black
Calmer: #2a1f4e with less saturation
Similar named colors
Colors that go with #2a1f4e
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.