Skip to the color picker

#1f0d38 color: Middle Red Purple

#1f0d38 is rgb(31, 13, 56) in RGB and oklch(21.423% 0.07956 298.682) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

265°
100%

21.4%
0.080
299°
  • Violet
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • slate-900
  • Black 78%

Inside sRGB: displays the same on any screen.

White text
17.90: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 #1f0d38

#1f0d38 is a soft very dark violet color. In OKLCH it has 21.4% lightness, 0.08 chroma and a hue of 299°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Middle Red Purple (#210837). In Tailwind CSS the closest color is slate-900.

More very dark violet colors

Lighter: #1f0d38 mixed with white

Darker: #1f0d38 mixed with black

  1. 000000

Calmer: #1f0d38 with less saturation

Similar named colors

Colors that go with #1f0d38

Complementary
Analogous
Triadic
Split

Questions about #1f0d38

What color is #1f0d38?

#1f0d38 is soft very dark violet. The closest named color is Middle Red Purple. In RGB it is rgb(31, 13, 56), in HSL hsl(265.12, 62.32%, 13.53%) and in OKLCH oklch(21.423% 0.07956 298.682).

What colors go well with #1f0d38?

The complementary color of #1f0d38 is #161d00. For a calmer combination use the analogous colors #0b143d and #2c072b. The triadic partners are #300d00 and #00221a.

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

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

Is #1f0d38 a warm or cool color?

#1f0d38 is a cool color. In OKLCH its hue is 299 degrees, its lightness 21.4% and its chroma 0.08.