#331f57 color: Stormy Night
#331f57 is rgb(51, 31, 87) in RGB and oklch(29.745% 0.09709 296.492) 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
- violet-950
- Black 66%
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 #331f57
#331f57 is a soft very dark violet color. In OKLCH it has 29.7% lightness, 0.097 chroma and a hue of 296°.
Inside sRGB: displays the same on any screen.
White text on it reaches 14.24:1 contrast and black text 1.47:1, so white text reads better.
The closest named color is Stormy Night (#372354). In Tailwind CSS the closest color is violet-950.
Lighter: #331f57 mixed with white
Darker: #331f57 mixed with black
Calmer: #331f57 with less saturation
Similar named colors
Colors that go with #331f57
Questions about #331f57
What color is #331f57?
#331f57 is soft very dark violet. The closest named color is Stormy Night. In RGB it is rgb(51, 31, 87), in HSL hsl(261.43, 47.46%, 23.14%) and in OKLCH oklch(29.745% 0.09709 296.492).
What colors go well with #331f57?
The complementary color of #331f57 is #2b3200. For a calmer combination use the analogous colors #17285d and #451746. The triadic partners are #4e1c00 and #00392c.
Is white or black text more readable on #331f57?
White text reads better on #331f57: white gives a contrast ratio of 14.24:1 and black gives 1.47:1. WCAG AA asks for at least 4.5:1 for body text.
Is #331f57 a warm or cool color?
#331f57 is a cool color. In OKLCH its hue is 296 degrees, its lightness 29.7% and its chroma 0.097.