#21142F color
The hex color #21142F is a very dark, desaturated violet.
In the RGB color model it is made of 12.9% red, 7.8% green and 18.4% blue (33, 20, 47).
Its hue angle is 269°, with 40% saturation and 13% lightness. For print, the CMYK equivalent is 30% cyan, 57% magenta, 0% yellow and 82% black.
The closest named color is Midnight Monarch (#1C0F33), a difference of 3.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.42:1).
#21142F color codes
| HEX | #21142F | |
|---|---|---|
| RGB | rgb(33, 20, 47) | |
| RGB percent | rgb(12.9%, 7.8%, 18.4%) | |
| HSL | hsl(269, 40%, 13%) | |
| HSV / HSB | hsv(269, 57%, 18%) | |
| CMYK | cmyk(30%, 57%, 0%, 82%) | |
| CIE LAB | lab(9.23, 13.53, -15.63) | |
| CIE LCH | lch(9.23, 20.68, 310.88) | |
| CIE XYZ | xyz(1.39, 1.029, 2.814) | |
| Decimal | 2167855 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #21142F, 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 #21142F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.21:1 | Fail | Fail | Fail |
| Sample text | 17.42:1 | Pass | Pass | Pass |
| #21142F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.42:1 | Pass | Pass | Pass |
| Sample text | 1.21: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 #21142F looks to people with the most common types of color vision deficiency.
#0d1a30Protanopia
no red cones#101a2eDeuteranopia
no green cones#1f191fTritanopia
no blue cones#1a1a1aAchromatopsia
no color vision
CSS examples
.background { background-color: #21142f; }
.text { color: #21142f; }
.border { border: 2px solid #21142f; }
.transparent { background-color: rgb(33 20 47 / 50%); }
.gradient { background: linear-gradient(to right, #21142f, #2f142f); }
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 #21142F?
- #21142F 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 #21142F?
- The RGB value is 33, 20, 47: 33 red, 20 green and 47 blue on a 0 to 255 scale.
- What is the complementary color of #21142F?
- The complementary color is #222F14, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #21142F?
- White text. Black text has a contrast ratio of 1.21:1 and white text 17.42:1. WCAG asks for at least 4.5:1 for normal text.