#311b62 color: Night Fog
#311b62 is rgb(49, 27, 98) in RGB and oklch(29.796% 0.11824 291.845) 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
- Vivid
- Deep
- 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
Recent
Colors you stop on or copy appear here. They stay on this device.
About #311b62
#311b62 is a deep very dark violet color. In OKLCH it has 29.8% lightness, 0.118 chroma and a hue of 292°.
Inside sRGB: displays the same on any screen.
White text on it reaches 14.35:1 contrast and black text 1.46:1, so white text reads better.
The closest named color is Night Fog (#2d1962). In Tailwind CSS the closest color is violet-950.
Lighter: #311b62 mixed with white
Darker: #311b62 mixed with black
Calmer: #311b62 with less saturation
Similar named colors
Colors that go with #311b62
Questions about #311b62
What color is #311b62?
#311b62 is deep very dark violet. The closest named color is Night Fog. In RGB it is rgb(49, 27, 98), in HSL hsl(258.59, 56.8%, 24.51%) and in OKLCH oklch(29.796% 0.11824 291.845).
What colors go well with #311b62?
The complementary color of #311b62 is #2f3000. For a calmer combination use the analogous colors #072767 and #47104f. The triadic partners are #521800 and #003928.
Is white or black text more readable on #311b62?
White text reads better on #311b62: white gives a contrast ratio of 14.35:1 and black gives 1.46:1. WCAG AA asks for at least 4.5:1 for body text.
Is #311b62 a warm or cool color?
#311b62 is a cool color. In OKLCH its hue is 292 degrees, its lightness 29.8% and its chroma 0.118.