#312254 color: Stormy Night
#312254 is rgb(49, 34, 84) in RGB and oklch(29.841% 0.0874 294.323) 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
- blue-950
- Black 67%
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 #312254
#312254 is a soft very dark violet color. In OKLCH it has 29.8% lightness, 0.087 chroma and a hue of 294°.
Inside sRGB: displays the same on any screen.
White text on it reaches 14.12:1 contrast and black text 1.49:1, so white text reads better.
The closest named color is Stormy Night (#372354). In Tailwind CSS the closest color is blue-950.
Lighter: #312254 mixed with white
Darker: #312254 mixed with black
Calmer: #312254 with less saturation
Similar named colors
Colors that go with #312254
Questions about #312254
What color is #312254?
#312254 is soft very dark violet. The closest named color is Stormy Night. In RGB it is rgb(49, 34, 84), in HSL hsl(258, 42.37%, 23.14%) and in OKLCH oklch(29.841% 0.0874 294.323).
What colors go well with #312254?
The complementary color of #312254 is #2d3100. For a calmer combination use the analogous colors #162a59 and #421b45. The triadic partners are #4d1d00 and #00392b.
Is white or black text more readable on #312254?
White text reads better on #312254: white gives a contrast ratio of 14.12:1 and black gives 1.49:1. WCAG AA asks for at least 4.5:1 for body text.
Is #312254 a warm or cool color?
#312254 is a cool color. In OKLCH its hue is 294 degrees, its lightness 29.8% and its chroma 0.087.