#120021 color
The hex color #120021 is a very dark, vivid violet.
In the RGB color model it is made of 7.1% red, 0% green and 12.9% blue (18, 0, 33).
Its hue angle is 273°, with 100% saturation and 6% lightness. For print, the CMYK equivalent is 45% cyan, 100% magenta, 0% yellow and 87% black.
The closest named color is Midnight Monarch (#1C0F33), a difference of 4.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 20.04:1).
#120021 color codes
| HEX | #120021 | |
|---|---|---|
| RGB | rgb(18, 0, 33) | |
| RGB percent | rgb(7.1%, 0%, 12.9%) | |
| HSL | hsl(273, 100%, 6%) | |
| HSV / HSB | hsv(273, 100%, 13%) | |
| CMYK | cmyk(45%, 100%, 0%, 87%) | |
| CIE LAB | lab(2.15, 12.18, -16.18) | |
| CIE LCH | lch(2.15, 20.25, 306.96) | |
| CIE XYZ | xyz(0.524, 0.238, 1.457) | |
| Decimal | 1179681 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #120021, 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 #120021 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.05:1 | Fail | Fail | Fail |
| Sample text | 20.04:1 | Pass | Pass | Pass |
| #120021 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 20.04:1 | Pass | Pass | Pass |
| Sample text | 1.05: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 #120021 looks to people with the most common types of color vision deficiency.
#000722Protanopia
no red cones#000820Deuteranopia
no green cones#0f060fTritanopia
no blue cones#080808Achromatopsia
no color vision
CSS examples
.background { background-color: #120021; }
.text { color: #120021; }
.border { border: 2px solid #120021; }
.transparent { background-color: rgb(18 0 33 / 50%); }
.gradient { background: linear-gradient(to right, #120021, #21001f); }
Similar colors
#1c0f33Midnight Monarch#060929Mysterious Depths#1d0d1dShot in the Dark#03012dMidnight#160435Quiet Abyss#220022Black Sabbath#00022eIllicit Darkness#071037Infinite Night
Closest common color name: Dark Purple.
Questions
- What color is #120021?
- #120021 is a very dark, vivid violet, closest to the named color Midnight Monarch. It belongs to the black family of colors.
- What is the RGB value of #120021?
- The RGB value is 18, 0, 33: 18 red, 0 green and 33 blue on a 0 to 255 scale.
- What is the complementary color of #120021?
- The complementary color is #0F2100, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #120021?
- White text. Black text has a contrast ratio of 1.05:1 and white text 20.04:1. WCAG asks for at least 4.5:1 for normal text.