#1B0213 color
The hex color #1B0213 is a very dark, vivid magenta.
In the RGB color model it is made of 10.6% red, 0.8% green and 7.5% blue (27, 2, 19).
Its hue angle is 319°, with 86% saturation and 6% lightness. For print, the CMYK equivalent is 0% cyan, 93% magenta, 30% yellow and 89% black.
The closest named color is Crow (#180614), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.72:1).
#1B0213 color codes
| HEX | #1B0213 | |
|---|---|---|
| RGB | rgb(27, 2, 19) | |
| RGB percent | rgb(10.6%, 0.8%, 7.5%) | |
| HSL | hsl(319, 86%, 6%) | |
| HSV / HSB | hsv(319, 93%, 11%) | |
| CMYK | cmyk(0%, 93%, 30%, 89%) | |
| CIE LAB | lab(2.92, 11.62, -4.22) | |
| CIE LCH | lch(2.92, 12.37, 340.05) | |
| CIE XYZ | xyz(0.591, 0.324, 0.647) | |
| Decimal | 1770003 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1B0213, 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 #1B0213 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.06:1 | Fail | Fail | Fail |
| Sample text | 19.72:1 | Pass | Pass | Pass |
| #1B0213 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.72:1 | Pass | Pass | Pass |
| Sample text | 1.06: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 #1B0213 looks to people with the most common types of color vision deficiency.
#030814Protanopia
no red cones#0a0c12Deuteranopia
no green cones#1d0208Tritanopia
no blue cones#0b0b0bAchromatopsia
no color vision
CSS examples
.background { background-color: #1b0213; }
.text { color: #1b0213; }
.border { border: 2px solid #1b0213; }
.transparent { background-color: rgb(27 2 19 / 50%); }
.gradient { background: linear-gradient(to right, #1b0213, #1b0206); }
Similar colors
#180614Crow#1d0d1dShot in the Dark#220011Belladonna#110011Glossy Black#2c1620Black Cherry#150811Noir Fiction#221111Italian Roast#1d0200Dwarf Fortress
Closest common color name: Licorice.
Questions
- What color is #1B0213?
- #1B0213 is a very dark, vivid magenta, closest to the named color Crow. It belongs to the black family of colors.
- What is the RGB value of #1B0213?
- The RGB value is 27, 2, 19: 27 red, 2 green and 19 blue on a 0 to 255 scale.
- What is the complementary color of #1B0213?
- The complementary color is #021B0A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1B0213?
- White text. Black text has a contrast ratio of 1.06:1 and white text 19.72:1. WCAG asks for at least 4.5:1 for normal text.