#1f1040 color: Shadow Planet
#1f1040 is rgb(31, 16, 64) in RGB and oklch(22.694% 0.08636 292.524) 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 75%
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 #1f1040
#1f1040 is a soft very dark violet color. In OKLCH it has 22.7% lightness, 0.086 chroma and a hue of 293°.
Inside sRGB: displays the same on any screen.
White text on it reaches 17.41:1 contrast and black text 1.21:1, so white text reads better.
The closest named color is Shadow Planet (#221144). In Tailwind CSS the closest color is indigo-950.
Lighter: #1f1040 mixed with white
Darker: #1f1040 mixed with black
Calmer: #1f1040 with less saturation
Similar named colors
Colors that go with #1f1040
Questions about #1f1040
What color is #1f1040?
#1f1040 is soft very dark violet. The closest named color is Shadow Planet. In RGB it is rgb(31, 16, 64), in HSL hsl(258.75, 60%, 15.69%) and in OKLCH oklch(22.694% 0.08636 292.524).
What colors go well with #1f1040?
The complementary color of #1f1040 is #1d1f00. For a calmer combination use the analogous colors #051844 and #2e0933. The triadic partners are #370c00 and #002519.
Is white or black text more readable on #1f1040?
White text reads better on #1f1040: white gives a contrast ratio of 17.41:1 and black gives 1.21:1. WCAG AA asks for at least 4.5:1 for body text.
Is #1f1040 a warm or cool color?
#1f1040 is a cool color. In OKLCH its hue is 293 degrees, its lightness 22.7% and its chroma 0.086.