Skip to the color picker

#1f1242 color: Shadow Planet

#1f1242 is rgb(31, 18, 66) in RGB and oklch(23.24% 0.0862 290.568) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

256°
100%

23.2%
0.086
291°
  • Violet
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • indigo-950
  • Black 74%

Inside sRGB: displays the same on any screen.

White text
17.16:1Readable · AA
Lc -106
Black text
1.22:1Hard to read
Lc 0

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 #1f1242

#1f1242 is a soft very dark violet color. In OKLCH it has 23.2% lightness, 0.086 chroma and a hue of 291°.

Inside sRGB: displays the same on any screen.

White text on it reaches 17.16:1 contrast and black text 1.22:1, so white text reads better.

The closest named color is Shadow Planet (#221144). In Tailwind CSS the closest color is indigo-950.

More very dark violet colors

Lighter: #1f1242 mixed with white

Darker: #1f1242 mixed with black

  1. 000000

Calmer: #1f1242 with less saturation

Similar named colors

Colors that go with #1f1242

Complementary
Analogous
Triadic
Split

Questions about #1f1242

What color is #1f1242?

#1f1242 is soft very dark violet. The closest named color is Shadow Planet. In RGB it is rgb(31, 18, 66), in HSL hsl(256.25, 57.14%, 16.47%) and in OKLCH oklch(23.24% 0.0862 290.568).

What colors go well with #1f1242?

The complementary color of #1f1242 is #202000. For a calmer combination use the analogous colors #031a45 and #2e0b36. The triadic partners are #3a0b00 and #002719.

Is white or black text more readable on #1f1242?

White text reads better on #1f1242: white gives a contrast ratio of 17.16:1 and black gives 1.22:1. WCAG AA asks for at least 4.5:1 for body text.

Is #1f1242 a warm or cool color?

#1f1242 is a cool color. In OKLCH its hue is 291 degrees, its lightness 23.2% and its chroma 0.086.