#331c62 color: Night Fog
#331c62 is rgb(51, 28, 98) in RGB and oklch(30.179% 0.11691 293.193) in OKLCH. Every other format, shade and contrast value is below.
Read as HEX
- Ctrl Vpaste a color anywhere
- Spacerandom color
- Ccopy HEX
- Violet
- Dark
- Soft
- Cool
- ≈ Midnight blue
- violet-950
- Black 62%
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 #331c62
#331c62 is a soft dark violet color. In OKLCH it has 30.2% lightness, 0.117 chroma and a hue of 293°.
Inside sRGB: displays the same on any screen.
White text on it reaches 14.16:1 contrast and black text 1.48:1, so white text reads better.
The closest named color is Night Fog (#2d1962). In Tailwind CSS the closest color is violet-950.
Lighter: #331c62 mixed with white
Darker: #331c62 mixed with black
Calmer: #331c62 with less saturation
Similar named colors
Colors that go with #331c62
Questions about #331c62
What color is #331c62?
#331c62 is soft dark violet. The closest named color is Night Fog. In RGB it is rgb(51, 28, 98), in HSL hsl(259.71, 55.56%, 24.71%) and in OKLCH oklch(30.179% 0.11691 293.193).
What colors go well with #331c62?
The complementary color of #331c62 is #2f3200. For a calmer combination use the analogous colors #0c2868 and #48114f. The triadic partners are #521a00 and #003a2b.
Is white or black text more readable on #331c62?
White text reads better on #331c62: white gives a contrast ratio of 14.16:1 and black gives 1.48:1. WCAG AA asks for at least 4.5:1 for body text.
Is #331c62 a warm or cool color?
#331c62 is a cool color. In OKLCH its hue is 293 degrees, its lightness 30.2% and its chroma 0.117.