#21131F color
The hex color #21131F is a very dark, desaturated magenta.
In the RGB color model it is made of 12.9% red, 7.5% green and 12.2% blue (33, 19, 31).
Its hue angle is 309°, with 27% saturation and 10% lightness. For print, the CMYK equivalent is 0% cyan, 42% magenta, 6% yellow and 87% black.
The closest named color is Shot in the Dark (#1D0D1D), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.83:1).
#21131F color codes
| HEX | #21131F | |
|---|---|---|
| RGB | rgb(33, 19, 31) | |
| RGB percent | rgb(12.9%, 7.5%, 12.2%) | |
| HSL | hsl(309, 27%, 10%) | |
| HSV / HSB | hsv(309, 42%, 13%) | |
| CMYK | cmyk(0%, 42%, 6%, 87%) | |
| CIE LAB | lab(8.02, 9.81, -5.54) | |
| CIE LCH | lch(8.02, 11.26, 330.54) | |
| CIE XYZ | xyz(1.107, 0.888, 1.409) | |
| Decimal | 2167583 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #21131F, 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 #21131F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.18:1 | Fail | Fail | Fail |
| Sample text | 17.83:1 | Pass | Pass | Pass |
| #21131F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.83:1 | Pass | Pass | Pass |
| Sample text | 1.18: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 #21131F looks to people with the most common types of color vision deficiency.
#13161fProtanopia
no red cones#16181fDeuteranopia
no green cones#221417Tritanopia
no blue cones#181818Achromatopsia
no color vision
CSS examples
.background { background-color: #21131f; }
.text { color: #21131f; }
.border { border: 2px solid #21131f; }
.transparent { background-color: rgb(33 19 31 / 50%); }
.gradient { background: linear-gradient(to right, #21131f, #211318); }
Similar colors
#1d0d1dShot in the Dark#180614Crow#2c1620Black Cherry#110011Glossy Black#150811Noir Fiction#1f1518Bats Cloak#1a161dViolet Void#220011Belladonna
Closest common color name: Dark Purple.
Questions
- What color is #21131F?
- #21131F is a very dark, desaturated magenta, closest to the named color Shot in the Dark. It belongs to the black family of colors.
- What is the RGB value of #21131F?
- The RGB value is 33, 19, 31: 33 red, 19 green and 31 blue on a 0 to 255 scale.
- What is the complementary color of #21131F?
- The complementary color is #132115, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #21131F?
- White text. Black text has a contrast ratio of 1.18:1 and white text 17.83:1. WCAG asks for at least 4.5:1 for normal text.