#1B1422 color

#1B1422 rgb(27, 20, 34)
Shades of black

The hex color #1B1422 is a very dark, desaturated violet.

In the RGB color model it is made of 10.6% red, 7.8% green and 13.3% blue (27, 20, 34).

Its hue angle is 270°, with 26% saturation and 11% lightness. For print, the CMYK equivalent is 21% cyan, 41% magenta, 0% yellow and 87% black.

The closest named color is Shot in the Dark (#1D0D1D), a difference of 3.9 ΔE, a small difference.

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

#1B1422 color codes

HEX#1B1422
RGBrgb(27, 20, 34)
RGB percentrgb(10.6%, 7.8%, 13.3%)
HSLhsl(270, 26%, 11%)
HSV / HSBhsv(270, 41%, 13%)
CMYKcmyk(21%, 41%, 0%, 87%)
CIE LABlab(7.67, 7.21, -8.43)
CIE LCHlch(7.67, 11.09, 310.53)
CIE XYZxyz(0.991, 0.849, 1.625)
Decimal1774626
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #1B1422, 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 #1B1422RatioAAAAAAA large
Sample text1.17:1FailFailFail
Sample text17.95:1PassPassPass
#1B1422 as text onRatioAAAAAAA large
Sample text17.95:1PassPassPass
Sample text1.17: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 #1B1422 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #1b1422; }
.text { color: #1b1422; }
.border { border: 2px solid #1b1422; }
.transparent { background-color: rgb(27 20 34 / 50%); }
.gradient { background: linear-gradient(to right, #1b1422, #221422); }
Background
Text color
Border

Similar colors

Closest common color name: Licorice.

Questions

What color is #1B1422?
#1B1422 is a very dark, desaturated violet, closest to the named color Shot in the Dark. It belongs to the black family of colors.
What is the RGB value of #1B1422?
The RGB value is 27, 20, 34: 27 red, 20 green and 34 blue on a 0 to 255 scale.
What is the complementary color of #1B1422?
The complementary color is #1B2214, found by rotating the hue 180° on the color wheel.
Is black or white text better on #1B1422?
White text. Black text has a contrast ratio of 1.17:1 and white text 17.95:1. WCAG asks for at least 4.5:1 for normal text.