#1B0417 color

#1B0417 rgb(27, 4, 23)
Shades of black

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

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

Its hue angle is 310°, with 74% saturation and 6% lightness. For print, the CMYK equivalent is 0% cyan, 85% magenta, 15% 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.51:1).

#1B0417 color codes

HEX#1B0417
RGBrgb(27, 4, 23)
RGB percentrgb(10.6%, 1.6%, 9%)
HSLhsl(310, 74%, 6%)
HSV / HSBhsv(310, 85%, 11%)
CMYKcmyk(0%, 85%, 15%, 89%)
CIE LABlab(3.45, 11.77, -6.21)
CIE LCHlch(3.45, 13.3, 332.17)
CIE XYZxyz(0.65, 0.382, 0.85)
Decimal1770519
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #1B0417?
#1B0417 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 #1B0417?
The RGB value is 27, 4, 23: 27 red, 4 green and 23 blue on a 0 to 255 scale.
What is the complementary color of #1B0417?
The complementary color is #041B08, found by rotating the hue 180° on the color wheel.
Is black or white text better on #1B0417?
White text. Black text has a contrast ratio of 1.08:1 and white text 19.51:1. WCAG asks for at least 4.5:1 for normal text.