#1B0417 color
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 | |
|---|---|---|
| RGB | rgb(27, 4, 23) | |
| RGB percent | rgb(10.6%, 1.6%, 9%) | |
| HSL | hsl(310, 74%, 6%) | |
| HSV / HSB | hsv(310, 85%, 11%) | |
| CMYK | cmyk(0%, 85%, 15%, 89%) | |
| CIE LAB | lab(3.45, 11.77, -6.21) | |
| CIE LCH | lch(3.45, 13.3, 332.17) | |
| CIE XYZ | xyz(0.65, 0.382, 0.85) | |
| Decimal | 1770519 | |
| Short hex | None (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 #1B0417 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.08:1 | Fail | Fail | Fail |
| Sample text | 19.51:1 | Pass | Pass | Pass |
| #1B0417 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.51:1 | Pass | Pass | Pass |
| Sample text | 1.08:1 | Fail | Fail | Fail |
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.
#040a18Protanopia
no red cones#0a0e16Deuteranopia
no green cones#1d050bTritanopia
no blue cones#0c0c0cAchromatopsia
no color vision
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); }
Similar colors
#1d0d1dShot in the Dark#180614Crow#110011Glossy Black#220011Belladonna#2c1620Black Cherry#150811Noir Fiction#220022Black Sabbath#1f1518Bats Cloak
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.