Skip to the color picker

#231242 color: Shadow Planet

#231242 is rgb(35, 18, 66) in RGB and oklch(23.72% 0.08638 295.312) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

261°
100%

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

Inside sRGB: displays the same on any screen.

White text
16.98:1Readable · AA
Lc -106
Black text
1.24: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 #231242

#231242 is a soft very dark violet color. In OKLCH it has 23.7% lightness, 0.086 chroma and a hue of 295°.

Inside sRGB: displays the same on any screen.

White text on it reaches 16.98:1 contrast and black text 1.24: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: #231242 mixed with white

Darker: #231242 mixed with black

  1. 000000

Calmer: #231242 with less saturation

Similar named colors

Colors that go with #231242

Complementary
Analogous
Triadic
Split

Questions about #231242

What color is #231242?

#231242 is soft very dark violet. The closest named color is Shadow Planet. In RGB it is rgb(35, 18, 66), in HSL hsl(261.25, 57.14%, 16.47%) and in OKLCH oklch(23.72% 0.08638 295.312).

What colors go well with #231242?

The complementary color of #231242 is #1e2200. For a calmer combination use the analogous colors #0a1a47 and #320b34. The triadic partners are #390f00 and #00281d.

Is white or black text more readable on #231242?

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

Is #231242 a warm or cool color?

#231242 is a cool color. In OKLCH its hue is 295 degrees, its lightness 23.7% and its chroma 0.086.