#120A17 color
The hex color #120A17 is a very dark, desaturated violet.
In the RGB color model it is made of 7.1% red, 3.9% green and 9% blue (18, 10, 23).
Its hue angle is 277°, with 39% saturation and 6% lightness. For print, the CMYK equivalent is 22% cyan, 57% magenta, 0% yellow and 91% black.
The closest named color is Obsidian Shard (#060313), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.42:1).
#120A17 color codes
| HEX | #120A17 | |
|---|---|---|
| RGB | rgb(18, 10, 23) | |
| RGB percent | rgb(7.1%, 3.9%, 9%) | |
| HSL | hsl(277, 39%, 6%) | |
| HSV / HSB | hsv(277, 57%, 9%) | |
| CMYK | cmyk(22%, 57%, 0%, 91%) | |
| CIE LAB | lab(3.68, 5.13, -5.98) | |
| CIE LCH | lch(3.68, 7.88, 310.61) | |
| CIE XYZ | xyz(0.513, 0.408, 0.862) | |
| Decimal | 1182231 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #120A17, 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 #120A17 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.08:1 | Fail | Fail | Fail |
| Sample text | 19.42:1 | Pass | Pass | Pass |
| #120A17 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.42:1 | Pass | Pass | Pass |
| Sample text | 1.08: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 #120A17 looks to people with the most common types of color vision deficiency.
#080d17Protanopia
no red cones#090d17Deuteranopia
no green cones#120c0fTritanopia
no blue cones#0d0d0dAchromatopsia
no color vision
CSS examples
.background { background-color: #120a17; }
.text { color: #120a17; }
.border { border: 2px solid #120a17; }
.transparent { background-color: rgb(18 10 23 / 50%); }
.gradient { background: linear-gradient(to right, #120a17, #170a16); }
Similar colors
#060313Obsidian Shard#110011Glossy Black#150811Noir Fiction#16141cBack in Black#1a161dViolet Void#080813Narwhal Gray#180614Crow#111122Corbeau
Closest common color name: Licorice.
Questions
- What color is #120A17?
- #120A17 is a very dark, desaturated violet, closest to the named color Obsidian Shard. It belongs to the black family of colors.
- What is the RGB value of #120A17?
- The RGB value is 18, 10, 23: 18 red, 10 green and 23 blue on a 0 to 255 scale.
- What is the complementary color of #120A17?
- The complementary color is #0F170A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #120A17?
- White text. Black text has a contrast ratio of 1.08:1 and white text 19.42:1. WCAG asks for at least 4.5:1 for normal text.