Skip to the color picker

#171038 color: Midnight Monarch

#171038 is rgb(23, 16, 56) in RGB and oklch(21.007% 0.07435 286.115) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

251°
100%

21%
0.074
286°
  • Violet
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • slate-900
  • Black 78%

Inside sRGB: displays the same on any screen.

White text
17.98:1Readable · AA
Lc -107
Black text
1.17: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 #171038

#171038 is a soft very dark violet color. In OKLCH it has 21% lightness, 0.074 chroma and a hue of 286°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Midnight Monarch (#1c0f33). In Tailwind CSS the closest color is slate-900.

More very dark violet colors

Lighter: #171038 mixed with white

Darker: #171038 mixed with black

  1. 000000

Calmer: #171038 with less saturation

Similar named colors

Colors that go with #171038

Complementary
Analogous
Triadic
Split

Questions about #171038

What color is #171038?

#171038 is soft very dark violet. The closest named color is Midnight Monarch. In RGB it is rgb(23, 16, 56), in HSL hsl(250.5, 55.56%, 14.12%) and in OKLCH oklch(21.007% 0.07435 286.115).

What colors go well with #171038?

The complementary color of #171038 is #1d1900. For a calmer combination use the analogous colors #001739 and #250a2f. The triadic partners are #320800 and #002111.

Is white or black text more readable on #171038?

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

Is #171038 a warm or cool color?

#171038 is a cool color. In OKLCH its hue is 286 degrees, its lightness 21% and its chroma 0.074.