#170b31 color: Midnight Monarch
#170b31 is rgb(23, 11, 49) in RGB and oklch(19.355% 0.07157 293.041) 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 #170b31
#170b31 is a soft very dark violet color. In OKLCH it has 19.4% lightness, 0.072 chroma and a hue of 293°.
Inside sRGB: displays the same on any screen.
White text on it reaches 18.61:1 contrast and black text 1.13:1, so white text reads better.
The closest named color is Midnight Monarch (#1c0f33). In Tailwind CSS the closest color is slate-900.
Lighter: #170b31 mixed with white
Darker: #170b31 mixed with black
Calmer: #170b31 with less saturation
Similar named colors
Colors that go with #170b31
Questions about #170b31
What color is #170b31?
#170b31 is soft very dark violet. The closest named color is Midnight Monarch. In RGB it is rgb(23, 11, 49), in HSL hsl(258.95, 63.33%, 11.76%) and in OKLCH oklch(19.355% 0.07157 293.041).
What colors go well with #170b31?
The complementary color of #170b31 is #151700. For a calmer combination use the analogous colors #041134 and #230627. The triadic partners are #2b0700 and #001c12.
Is white or black text more readable on #170b31?
White text reads better on #170b31: white gives a contrast ratio of 18.61:1 and black gives 1.13:1. WCAG AA asks for at least 4.5:1 for body text.
Is #170b31 a warm or cool color?
#170b31 is a cool color. In OKLCH its hue is 293 degrees, its lightness 19.4% and its chroma 0.072.