#311e4f color: Elderberry
#311e4f is rgb(49, 30, 79) in RGB and oklch(28.695% 0.08695 298.679) 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
Recent
Colors you stop on or copy appear here. They stay on this device.
About #311e4f
#311e4f is a soft very dark violet color. In OKLCH it has 28.7% lightness, 0.087 chroma and a hue of 299°.
Inside sRGB: displays the same on any screen.
White text on it reaches 14.69:1 contrast and black text 1.43:1, so white text reads better.
The closest named color is Elderberry (#2e2249). In Tailwind CSS the closest color is indigo-950.
Lighter: #311e4f mixed with white
Darker: #311e4f mixed with black
Calmer: #311e4f with less saturation
Similar named colors
Colors that go with #311e4f
Questions about #311e4f
What color is #311e4f?
#311e4f is soft very dark violet. The closest named color is Elderberry. In RGB it is rgb(49, 30, 79), in HSL hsl(263.27, 44.95%, 21.37%) and in OKLCH oklch(28.695% 0.08695 298.679).
What colors go well with #311e4f?
The complementary color of #311e4f is #273000. For a calmer combination use the analogous colors #192655 and #41173f. The triadic partners are #481c00 and #00362b.
Is white or black text more readable on #311e4f?
White text reads better on #311e4f: white gives a contrast ratio of 14.69:1 and black gives 1.43:1. WCAG AA asks for at least 4.5:1 for body text.
Is #311e4f a warm or cool color?
#311e4f is a cool color. In OKLCH its hue is 299 degrees, its lightness 28.7% and its chroma 0.087.