Skip to the color picker

#0f0528 color: Election Night

#0f0528 is rgb(15, 5, 40) in RGB and oklch(16.136% 0.0687 290.601) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

257°
100%

16.1%
0.069
291°
  • Violet
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • slate-950
  • Black 84%

Inside sRGB: displays the same on any screen.

White text
19.58:1Readable · AA
Lc -107
Black text
1.07: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 #0f0528

#0f0528 is a soft very dark violet color. In OKLCH it has 16.1% lightness, 0.069 chroma and a hue of 291°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Election Night (#110320). In Tailwind CSS the closest color is slate-950.

More very dark violet colors

Lighter: #0f0528 mixed with white

Darker: #0f0528 mixed with black

  1. 000000

Calmer: #0f0528 with less saturation

Similar named colors

Colors that go with #0f0528

Complementary
Analogous
Triadic
Split

Questions about #0f0528

What color is #0f0528?

#0f0528 is soft very dark violet. The closest named color is Election Night. In RGB it is rgb(15, 5, 40), in HSL hsl(257.14, 77.78%, 8.82%) and in OKLCH oklch(16.136% 0.0687 290.601).

What colors go well with #0f0528?

The complementary color of #0f0528 is #0f0f00. For a calmer combination use the analogous colors #000a2a and #1a021f. The triadic partners are #220200 and #00140a.

Is white or black text more readable on #0f0528?

White text reads better on #0f0528: white gives a contrast ratio of 19.58:1 and black gives 1.07:1. WCAG AA asks for at least 4.5:1 for body text.

Is #0f0528 a warm or cool color?

#0f0528 is a cool color. In OKLCH its hue is 291 degrees, its lightness 16.1% and its chroma 0.069.