#311b5f color: Night Fog
#311b5f is rgb(49, 27, 95) in RGB and oklch(29.521% 0.11421 292.931) 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 63%
Inside sRGB: displays the same on any screen.
Shades
From lightest to darkest. Click a shade to use it.
Harmonies
Recent
Colors you stop on or copy appear here. They stay on this device.
About #311b5f
#311b5f is a soft very dark violet color. In OKLCH it has 29.5% lightness, 0.114 chroma and a hue of 293°.
Inside sRGB: displays the same on any screen.
White text on it reaches 14.46:1 contrast and black text 1.45:1, so white text reads better.
The closest named color is Night Fog (#2d1962). In Tailwind CSS the closest color is violet-950.
Lighter: #311b5f mixed with white
Darker: #311b5f mixed with black
Calmer: #311b5f with less saturation
Similar named colors
Colors that go with #311b5f
Questions about #311b5f
What color is #311b5f?
#311b5f is soft very dark violet. The closest named color is Night Fog. In RGB it is rgb(49, 27, 95), in HSL hsl(259.41, 55.74%, 23.92%) and in OKLCH oklch(29.521% 0.11421 292.931).
What colors go well with #311b5f?
The complementary color of #311b5f is #2e3000. For a calmer combination use the analogous colors #0b2764 and #46104d. The triadic partners are #501900 and #003829.
Is white or black text more readable on #311b5f?
White text reads better on #311b5f: white gives a contrast ratio of 14.46:1 and black gives 1.45:1. WCAG AA asks for at least 4.5:1 for body text.
Is #311b5f a warm or cool color?
#311b5f is a cool color. In OKLCH its hue is 293 degrees, its lightness 29.5% and its chroma 0.114.