Skip to the color picker

#1f0842 color: Your Darkness

#1f0842 is rgb(31, 8, 66) in RGB and oklch(21.689% 0.1001 294.466) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

264°
100%

21.7%
0.100
294°
  • Violet
  • Very dark
  • Vivid
  • Deep
  • Cool
  • ≈ Midnight blue
  • indigo-950
  • Black 74%

Inside sRGB: displays the same on any screen.

White text
17.92:1Readable · AA
Lc -106
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 #1f0842

#1f0842 is a deep very dark violet color. In OKLCH it has 21.7% lightness, 0.1 chroma and a hue of 294°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Your Darkness (#220044). In Tailwind CSS the closest color is indigo-950.

More very dark violet colors

Lighter: #1f0842 mixed with white

Darker: #1f0842 mixed with black

  1. 000000

Calmer: #1f0842 with less saturation

Similar named colors

Colors that go with #1f0842

Complementary
Analogous
Triadic
Split

Questions about #1f0842

What color is #1f0842?

#1f0842 is deep very dark violet. The closest named color is Your Darkness. In RGB it is rgb(31, 8, 66), in HSL hsl(263.79, 78.38%, 14.51%) and in OKLCH oklch(21.689% 0.1001 294.466).

What colors go well with #1f0842?

The complementary color of #1f0842 is #1a1d00. For a calmer combination use the analogous colors #031347 and #2e0133. The triadic partners are #330b00 and #002218.

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

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

Is #1f0842 a warm or cool color?

#1f0842 is a cool color. In OKLCH its hue is 294 degrees, its lightness 21.7% and its chroma 0.1.