#171231 color: Lost in Sadness
#171231 is rgb(23, 18, 49) in RGB and oklch(20.805% 0.05922 287.509) 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
- slate-900
- Black 81%
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 #171231
#171231 is a soft very dark violet color. In OKLCH it has 20.8% lightness, 0.059 chroma and a hue of 288°.
Inside sRGB: displays the same on any screen.
White text on it reaches 17.99:1 contrast and black text 1.17:1, so white text reads better.
The closest named color is Lost in Sadness (#151632). In Tailwind CSS the closest color is slate-900.
Lighter: #171231 mixed with white
Darker: #171231 mixed with black
Calmer: #171231 with less saturation
Similar named colors
Colors that go with #171231
Questions about #171231
What color is #171231?
#171231 is soft very dark violet. The closest named color is Lost in Sadness. In RGB it is rgb(23, 18, 49), in HSL hsl(249.68, 46.27%, 13.14%) and in OKLCH oklch(20.805% 0.05922 287.509).
What colors go well with #171231?
The complementary color of #171231 is #1b1900. For a calmer combination use the analogous colors #051732 and #230d29. The triadic partners are #2c0d00 and #002012.
Is white or black text more readable on #171231?
White text reads better on #171231: white gives a contrast ratio of 17.99:1 and black gives 1.17:1. WCAG AA asks for at least 4.5:1 for body text.
Is #171231 a warm or cool color?
#171231 is a cool color. In OKLCH its hue is 288 degrees, its lightness 20.8% and its chroma 0.059.