#21041E color
The hex color #21041E is a very dark, moderate magenta.
In the RGB color model it is made of 12.9% red, 1.6% green and 11.8% blue (33, 4, 30).
Its hue angle is 306°, with 78% saturation and 7% lightness. For print, the CMYK equivalent is 0% cyan, 88% magenta, 9% yellow and 87% black.
The closest named color is Black Sabbath (#220022), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.08:1).
#21041E color codes
| HEX | #21041E | |
|---|---|---|
| RGB | rgb(33, 4, 30) | |
| RGB percent | rgb(12.9%, 1.6%, 11.8%) | |
| HSL | hsl(306, 78%, 7%) | |
| HSV / HSB | hsv(306, 88%, 13%) | |
| CMYK | cmyk(0%, 88%, 9%, 87%) | |
| CIE LAB | lab(4.55, 17.39, -10.01) | |
| CIE LCH | lch(4.55, 20.06, 330.06) | |
| CIE XYZ | xyz(0.905, 0.504, 1.278) | |
| Decimal | 2163742 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #21041E, 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 #21041E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.1:1 | Fail | Fail | Fail |
| Sample text | 19.08:1 | Pass | Pass | Pass |
| #21041E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.08:1 | Pass | Pass | Pass |
| Sample text | 1.1: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 #21041E looks to people with the most common types of color vision deficiency.
#030d1fProtanopia
no red cones#0c111dDeuteranopia
no green cones#23060fTritanopia
no blue cones#101010Achromatopsia
no color vision
CSS examples
.background { background-color: #21041e; }
.text { color: #21041e; }
.border { border: 2px solid #21041e; }
.transparent { background-color: rgb(33 4 30 / 50%); }
.gradient { background: linear-gradient(to right, #21041e, #21040f); }
Similar colors
#220022Black Sabbath#2b0f2eDark Prom Queen#1d0d1dShot in the Dark#220011Belladonna#301934Dark Purple#391531Nightly Voyager#330022Vienna Roast#2c1620Black Cherry
Questions
- What color is #21041E?
- #21041E is a very dark, moderate magenta, closest to the named color Black Sabbath. It belongs to the black family of colors.
- What is the RGB value of #21041E?
- The RGB value is 33, 4, 30: 33 red, 4 green and 30 blue on a 0 to 255 scale.
- What is the complementary color of #21041E?
- The complementary color is #042107, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #21041E?
- White text. Black text has a contrast ratio of 1.1:1 and white text 19.08:1. WCAG asks for at least 4.5:1 for normal text.