#311f52 color: Powerful Violet
#311f52 is rgb(49, 31, 82) in RGB and oklch(29.114% 0.0896 296.73) 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 68%
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 #311f52
#311f52 is a soft very dark violet color. In OKLCH it has 29.1% lightness, 0.09 chroma and a hue of 297°.
Inside sRGB: displays the same on any screen.
White text on it reaches 14.5:1 contrast and black text 1.45:1, so white text reads better.
The closest named color is Powerful Violet (#372252). In Tailwind CSS the closest color is indigo-950.
Lighter: #311f52 mixed with white
Darker: #311f52 mixed with black
Calmer: #311f52 with less saturation
Similar named colors
Colors that go with #311f52
Questions about #311f52
What color is #311f52?
#311f52 is soft very dark violet. The closest named color is Powerful Violet. In RGB it is rgb(49, 31, 82), in HSL hsl(261.18, 45.13%, 22.16%) and in OKLCH oklch(29.114% 0.0896 296.73).
What colors go well with #311f52?
The complementary color of #311f52 is #2a3000. For a calmer combination use the analogous colors #172758 and #421842. The triadic partners are #4b1c00 and #00372b.
Is white or black text more readable on #311f52?
White text reads better on #311f52: white gives a contrast ratio of 14.5:1 and black gives 1.45:1. WCAG AA asks for at least 4.5:1 for body text.
Is #311f52 a warm or cool color?
#311f52 is a cool color. In OKLCH its hue is 297 degrees, its lightness 29.1% and its chroma 0.09.