Skip to the color picker

#140c2f color: Spanish Roast

#140c2f is rgb(20, 12, 47) in RGB and oklch(18.99% 0.06671 288.952) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

254°
100%

19%
0.067
289°
  • Violet
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • slate-900
  • Black 82%

Inside sRGB: displays the same on any screen.

White text
18.69:1Readable · AA
Lc -107
Black text
1.12:1Hard to read
Lc 0

Shades

From lightest to darkest. Click a shade to use it.

Harmonies

Open as palette

Recent

Colors you stop on or copy appear here. They stay on this device.

About #140c2f

#140c2f is a soft very dark violet color. In OKLCH it has 19% lightness, 0.067 chroma and a hue of 289°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Spanish Roast (#111133). In Tailwind CSS the closest color is slate-900.

More very dark violet colors

Lighter: #140c2f mixed with white

  1. 140c2f
  2. 262142
  3. 3a3655
  4. 4f4d69
  5. 66647d
  6. 7e7c92
  7. 9695a7
  8. afaebc
  9. c9c9d2
  10. e4e3e8

Darker: #140c2f mixed with black

  1. 140c2f
  2. 100927
  3. 0c0620
  4. 080419
  5. 050312
  6. 03020c
  7. 010106
  8. 010003
  9. 000001
  10. 000000

Calmer: #140c2f with less saturation

  1. 140c2f
  2. 140d2c
  3. 140e2a
  4. 130f27
  5. 131024
  6. 131122
  7. 13121f
  8. 13121c
  9. 131319
  10. 141317

Questions about #140c2f

What color is #140c2f?

#140c2f is soft very dark violet. The closest named color is Spanish Roast. In RGB it is rgb(20, 12, 47), in HSL hsl(253.71, 59.32%, 11.57%) and in OKLCH oklch(18.99% 0.06671 288.952).

What colors go well with #140c2f?

The complementary color of #140c2f is #161500. For a calmer combination use the analogous colors #011231 and #200726. The triadic partners are #2a0700 and #001c0f.

Is white or black text more readable on #140c2f?

White text reads better on #140c2f: white gives a contrast ratio of 18.69:1 and black gives 1.12:1. WCAG AA asks for at least 4.5:1 for body text.

Is #140c2f a warm or cool color?

#140c2f is a cool color. In OKLCH its hue is 289 degrees, its lightness 19% and its chroma 0.067.