#1f173e color: Prune Plum
#1f173e is rgb(31, 23, 62) in RGB and oklch(23.867% 0.07162 289.264) 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
- indigo-950
- Black 76%
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 #1f173e
#1f173e is a soft very dark violet color. In OKLCH it has 23.9% lightness, 0.072 chroma and a hue of 289°.
Inside sRGB: displays the same on any screen.
White text on it reaches 16.79:1 contrast and black text 1.25:1, so white text reads better.
The closest named color is Prune Plum (#211640). In Tailwind CSS the closest color is indigo-950.
Lighter: #1f173e mixed with white
Darker: #1f173e mixed with black
Calmer: #1f173e with less saturation
Similar named colors
Colors that go with #1f173e
Questions about #1f173e
What color is #1f173e?
#1f173e is soft very dark violet. The closest named color is Prune Plum. In RGB it is rgb(31, 23, 62), in HSL hsl(252.31, 45.88%, 16.67%) and in OKLCH oklch(23.867% 0.07162 289.264).
What colors go well with #1f173e?
The complementary color of #1f173e is #222100. For a calmer combination use the analogous colors #081e40 and #2d1134. The triadic partners are #381100 and #002919.
Is white or black text more readable on #1f173e?
White text reads better on #1f173e: white gives a contrast ratio of 16.79:1 and black gives 1.25:1. WCAG AA asks for at least 4.5:1 for body text.
Is #1f173e a warm or cool color?
#1f173e is a cool color. In OKLCH its hue is 289 degrees, its lightness 23.9% and its chroma 0.072.