#18141F color

#18141F rgb(24, 20, 31)
Shades of black

The hex color #18141F is a very dark, grayish violet.

In the RGB color model it is made of 9.4% red, 7.8% green and 12.2% blue (24, 20, 31).

Its hue angle is 262°, with 22% saturation and 10% lightness. For print, the CMYK equivalent is 23% cyan, 35% magenta, 0% yellow and 88% black.

The closest named color is Violet Void (#1A161D), a difference of 2.4 ΔE, a small difference.

White text is the more readable choice on this background (contrast 18.12:1).

#18141F color codes

HEX#18141F
RGBrgb(24, 20, 31)
RGB percentrgb(9.4%, 7.8%, 12.2%)
HSLhsl(262, 22%, 10%)
HSV / HSBhsv(262, 35%, 12%)
CMYKcmyk(23%, 35%, 0%, 88%)
CIE LABlab(7.17, 4.9, -6.95)
CIE LCHlch(7.17, 8.5, 305.19)
CIE XYZxyz(0.874, 0.793, 1.403)
Decimal1578015
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #18141F, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #18141FRatioAAAAAAA large
Sample text1.16:1FailFailFail
Sample text18.12:1PassPassPass
#18141F as text onRatioAAAAAAA large
Sample text18.12:1PassPassPass
Sample text1.16:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #18141F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #18141f; }
.text { color: #18141f; }
.border { border: 2px solid #18141f; }
.transparent { background-color: rgb(24 20 31 / 50%); }
.gradient { background: linear-gradient(to right, #18141f, #1d141f); }
Background
Text color
Border

Similar colors

Closest common color name: Licorice.

Questions

What color is #18141F?
#18141F is a very dark, grayish violet, closest to the named color Violet Void. It belongs to the black family of colors.
What is the RGB value of #18141F?
The RGB value is 24, 20, 31: 24 red, 20 green and 31 blue on a 0 to 255 scale.
What is the complementary color of #18141F?
The complementary color is #1B1F14, found by rotating the hue 180° on the color wheel.
Is black or white text better on #18141F?
White text. Black text has a contrast ratio of 1.16:1 and white text 18.12:1. WCAG asks for at least 4.5:1 for normal text.