#1B041A color

#1B041A rgb(27, 4, 26)
Shades of black

The hex color #1B041A is a very dark, moderate magenta.

In the RGB color model it is made of 10.6% red, 1.6% green and 10.2% blue (27, 4, 26).

Its hue angle is 303°, with 74% saturation and 6% lightness. For print, the CMYK equivalent is 0% cyan, 85% magenta, 4% yellow and 89% black.

The closest named color is Shot in the Dark (#1D0D1D), a difference of 1.9 ΔE, which is barely visible.

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

#1B041A color codes

HEX#1B041A
RGBrgb(27, 4, 26)
RGB percentrgb(10.6%, 1.6%, 10.2%)
HSLhsl(303, 74%, 6%)
HSV / HSBhsv(303, 85%, 11%)
CMYKcmyk(0%, 85%, 4%, 89%)
CIE LABlab(3.56, 12.57, -8.39)
CIE LCHlch(3.56, 15.12, 326.27)
CIE XYZxyz(0.682, 0.394, 1.017)
Decimal1770522
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #1B041A, 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 #1B041ARatioAAAAAAA large
Sample text1.08:1FailFailFail
Sample text19.46:1PassPassPass
#1B041A as text onRatioAAAAAAA large
Sample text19.46:1PassPassPass
Sample text1.08: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 #1B041A looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #1b041a; }
.text { color: #1b041a; }
.border { border: 2px solid #1b041a; }
.transparent { background-color: rgb(27 4 26 / 50%); }
.gradient { background: linear-gradient(to right, #1b041a, #1b040e); }
Background
Text color
Border

Similar colors

Questions

What color is #1B041A?
#1B041A is a very dark, moderate magenta, closest to the named color Shot in the Dark. It belongs to the black family of colors.
What is the RGB value of #1B041A?
The RGB value is 27, 4, 26: 27 red, 4 green and 26 blue on a 0 to 255 scale.
What is the complementary color of #1B041A?
The complementary color is #041B05, found by rotating the hue 180° on the color wheel.
Is black or white text better on #1B041A?
White text. Black text has a contrast ratio of 1.08:1 and white text 19.46:1. WCAG asks for at least 4.5:1 for normal text.