#31224c color: Elderberry
#31224c is rgb(49, 34, 76) in RGB and oklch(29.252% 0.0752 298.091) 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 70%
Inside sRGB: displays the same on any screen.
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 #31224c
#31224c is a soft very dark violet color. In OKLCH it has 29.3% lightness, 0.075 chroma and a hue of 298°.
Inside sRGB: displays the same on any screen.
White text on it reaches 14.35:1 contrast and black text 1.46:1, so white text reads better.
The closest named color is Elderberry (#2e2249). In Tailwind CSS the closest color is indigo-950.
Lighter: #31224c mixed with white
Darker: #31224c mixed with black
Calmer: #31224c with less saturation
Similar named colors
Colors that go with #31224c
Questions about #31224c
What color is #31224c?
#31224c is soft very dark violet. The closest named color is Elderberry. In RGB it is rgb(49, 34, 76), in HSL hsl(261.43, 38.18%, 21.57%) and in OKLCH oklch(29.252% 0.0752 298.091).
What colors go well with #31224c?
The complementary color of #31224c is #293000. For a calmer combination use the analogous colors #1c2951 and #3f1c3f. The triadic partners are #472000 and #00372c.
Is white or black text more readable on #31224c?
White text reads better on #31224c: white gives a contrast ratio of 14.35:1 and black gives 1.46:1. WCAG AA asks for at least 4.5:1 for body text.
Is #31224c a warm or cool color?
#31224c is a cool color. In OKLCH its hue is 298 degrees, its lightness 29.3% and its chroma 0.075.