#120D1E color
The hex color #120D1E is a very dark, desaturated violet.
In the RGB color model it is made of 7.1% red, 5.1% green and 11.8% blue (18, 13, 30).
Its hue angle is 258°, with 40% saturation and 8% lightness. For print, the CMYK equivalent is 40% cyan, 57% magenta, 0% yellow and 88% black.
The closest named color is Corbeau (#111122), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.06:1).
#120D1E color codes
| HEX | #120D1E | |
|---|---|---|
| RGB | rgb(18, 13, 30) | |
| RGB percent | rgb(7.1%, 5.1%, 11.8%) | |
| HSL | hsl(258, 40%, 8%) | |
| HSV / HSB | hsv(258, 57%, 12%) | |
| CMYK | cmyk(40%, 57%, 0%, 88%) | |
| CIE LAB | lab(4.61, 5.85, -10.1) | |
| CIE LCH | lch(4.61, 11.67, 300.06) | |
| CIE XYZ | xyz(0.628, 0.51, 1.293) | |
| Decimal | 1183006 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #120D1E, 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 #120D1E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.1:1 | Fail | Fail | Fail |
| Sample text | 19.06:1 | Pass | Pass | Pass |
| #120D1E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.06: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 #120D1E looks to people with the most common types of color vision deficiency.
#08101fProtanopia
no red cones#09101eDeuteranopia
no green cones#0f1014Tritanopia
no blue cones#101010Achromatopsia
no color vision
CSS examples
.background { background-color: #120d1e; }
.text { color: #120d1e; }
.border { border: 2px solid #120d1e; }
.transparent { background-color: rgb(18 13 30 / 50%); }
.gradient { background: linear-gradient(to right, #120d1e, #1a0d1e); }
Similar colors
#111122Corbeau#060313Obsidian Shard#16141cBack in Black#110011Glossy Black#1a161dViolet Void#050d25Void#151931Dark Knight#080813Narwhal Gray
Closest common color name: Midnight Black.
Questions
- What color is #120D1E?
- #120D1E is a very dark, desaturated violet, closest to the named color Corbeau. It belongs to the black family of colors.
- What is the RGB value of #120D1E?
- The RGB value is 18, 13, 30: 18 red, 13 green and 30 blue on a 0 to 255 scale.
- What is the complementary color of #120D1E?
- The complementary color is #191E0D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #120D1E?
- White text. Black text has a contrast ratio of 1.1:1 and white text 19.06:1. WCAG asks for at least 4.5:1 for normal text.