Skip to the color picker

#181228 color: Corbeau

#181228 is rgb(24, 18, 40) in RGB and oklch(20.213% 0.04335 294.777) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

256°
100%

20.2%
0.043
295°
  • Violet
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • slate-900
  • Black 84%

Inside sRGB: displays the same on any screen.

White text
18.17: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 #181228

#181228 is a soft very dark violet color. In OKLCH it has 20.2% lightness, 0.043 chroma and a hue of 295°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Corbeau (#111122). In Tailwind CSS the closest color is slate-900.

More very dark violet colors

Lighter: #181228 mixed with white

Darker: #181228 mixed with black

  1. 000000

Calmer: #181228 with less saturation

Similar named colors

Colors that go with #181228

Complementary
Analogous
Triadic
Split

Questions about #181228

What color is #181228?

#181228 is soft very dark violet. The closest named color is Corbeau. In RGB it is rgb(24, 18, 40), in HSL hsl(256.36, 37.93%, 11.37%) and in OKLCH oklch(20.213% 0.04335 294.777).

What colors go well with #181228?

The complementary color of #181228 is #161901. For a calmer combination use the analogous colors #0d162a and #200f21. The triadic partners are #251003 and #001d15.

Is white or black text more readable on #181228?

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

Is #181228 a warm or cool color?

#181228 is a cool color. In OKLCH its hue is 295 degrees, its lightness 20.2% and its chroma 0.043.