#331c60 color: Night Fog
#331c60 is rgb(51, 28, 96) in RGB and oklch(30% 0.11422 293.938) 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 #331c60
#331c60 is a soft dark violet color. In OKLCH it has 30% lightness, 0.114 chroma and a hue of 294°.
Inside sRGB: displays the same on any screen.
White text on it reaches 14.23: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: #331c60 mixed with white
Darker: #331c60 mixed with black
Calmer: #331c60 with less saturation
Similar named colors
Colors that go with #331c60
Questions about #331c60
What color is #331c60?
#331c60 is soft dark violet. The closest named color is Night Fog. In RGB it is rgb(51, 28, 96), in HSL hsl(260.29, 54.84%, 24.31%) and in OKLCH oklch(30% 0.11422 293.938).
What colors go well with #331c60?
The complementary color of #331c60 is #2e3200. For a calmer combination use the analogous colors #0e2866 and #48114d. The triadic partners are #511a00 and #003a2b.
Is white or black text more readable on #331c60?
White text reads better on #331c60: white gives a contrast ratio of 14.23:1 and black gives 1.48:1. WCAG AA asks for at least 4.5:1 for body text.
Is #331c60 a warm or cool color?
#331c60 is a cool color. In OKLCH its hue is 294 degrees, its lightness 30% and its chroma 0.114.