#21142E color
The hex color #21142E is a very dark, desaturated violet.
In the RGB color model it is made of 12.9% red, 7.8% green and 18% blue (33, 20, 46).
Its hue angle is 270°, with 39% saturation and 13% lightness. For print, the CMYK equivalent is 28% cyan, 57% magenta, 0% yellow and 82% black.
The closest named color is Midnight Monarch (#1C0F33), a difference of 3.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.44:1).
#21142E color codes
| HEX | #21142E | |
|---|---|---|
| RGB | rgb(33, 20, 46) | |
| RGB percent | rgb(12.9%, 7.8%, 18%) | |
| HSL | hsl(270, 39%, 13%) | |
| HSV / HSB | hsv(270, 57%, 18%) | |
| CMYK | cmyk(28%, 57%, 0%, 82%) | |
| CIE LAB | lab(9.16, 13.23, -15) | |
| CIE LCH | lch(9.16, 20, 311.41) | |
| CIE XYZ | xyz(1.37, 1.021, 2.709) | |
| Decimal | 2167854 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #21142E, 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 #21142E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.2:1 | Fail | Fail | Fail |
| Sample text | 17.44:1 | Pass | Pass | Pass |
| #21142E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.44:1 | Pass | Pass | Pass |
| Sample text | 1.2: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 #21142E looks to people with the most common types of color vision deficiency.
#0d192fProtanopia
no red cones#101a2dDeuteranopia
no green cones#1f181eTritanopia
no blue cones#1a1a1aAchromatopsia
no color vision
CSS examples
.background { background-color: #21142e; }
.text { color: #21142e; }
.border { border: 2px solid #21142e; }
.transparent { background-color: rgb(33 20 46 / 50%); }
.gradient { background: linear-gradient(to right, #21142e, #2e142e); }
Similar colors
#1c0f33Midnight Monarch#301934Dark Purple#2b0f2eDark Prom Queen#2a2243Midnight Velvet#1d0d1dShot in the Dark#220022Black Sabbath#222244Black Market#151931Dark Knight
Questions
- What color is #21142E?
- #21142E is a very dark, desaturated violet, closest to the named color Midnight Monarch. It belongs to the black family of colors.
- What is the RGB value of #21142E?
- The RGB value is 33, 20, 46: 33 red, 20 green and 46 blue on a 0 to 255 scale.
- What is the complementary color of #21142E?
- The complementary color is #212E14, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #21142E?
- White text. Black text has a contrast ratio of 1.2:1 and white text 17.44:1. WCAG asks for at least 4.5:1 for normal text.