Skip to the color picker

#1f0a38 color: Middle Red Purple

#1f0a38 is rgb(31, 10, 56) in RGB and oklch(20.945% 0.08423 299.967) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

267°
100%

20.9%
0.084
300°
  • Violet
  • Very dark
  • Vivid
  • Deep
  • Cool
  • ≈ Midnight blue
  • slate-900
  • Black 78%

Inside sRGB: displays the same on any screen.

White text
18.12:1Readable · AA
Lc -107
Black text
1.16: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 #1f0a38

#1f0a38 is a deep very dark violet color. In OKLCH it has 20.9% lightness, 0.084 chroma and a hue of 300°.

Inside sRGB: displays the same on any screen.

White text on it reaches 18.12:1 contrast and black text 1.16: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: #1f0a38 mixed with white

Darker: #1f0a38 mixed with black

  1. 000000

Calmer: #1f0a38 with less saturation

Similar named colors

Colors that go with #1f0a38

Complementary
Analogous
Triadic
Split

Questions about #1f0a38

What color is #1f0a38?

#1f0a38 is deep very dark violet. The closest named color is Middle Red Purple. In RGB it is rgb(31, 10, 56), in HSL hsl(267.39, 69.7%, 12.94%) and in OKLCH oklch(20.945% 0.08423 299.967).

What colors go well with #1f0a38?

The complementary color of #1f0a38 is #151c00. For a calmer combination use the analogous colors #0a123e and #2c042a. The triadic partners are #2e0d00 and #002019.

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

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

Is #1f0a38 a warm or cool color?

#1f0a38 is a cool color. In OKLCH its hue is 300 degrees, its lightness 20.9% and its chroma 0.084.