#120A23 color
The hex color #120A23 is a very dark, moderate violet.
In the RGB color model it is made of 7.1% red, 3.9% green and 13.7% blue (18, 10, 35).
Its hue angle is 259°, with 56% saturation and 9% lightness. For print, the CMYK equivalent is 49% cyan, 71% magenta, 0% yellow and 86% black.
The closest named color is Corbeau (#111122), a difference of 4.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.21:1).
#120A23 color codes
| HEX | #120A23 | |
|---|---|---|
| RGB | rgb(18, 10, 35) | |
| RGB percent | rgb(7.1%, 3.9%, 13.7%) | |
| HSL | hsl(259, 56%, 9%) | |
| HSV / HSB | hsv(259, 71%, 14%) | |
| CMYK | cmyk(49%, 71%, 0%, 86%) | |
| CIE LAB | lab(4.22, 8.91, -14.58) | |
| CIE LCH | lch(4.22, 17.09, 301.41) | |
| CIE XYZ | xyz(0.661, 0.467, 1.645) | |
| Decimal | 1182243 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #120A23, 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 #120A23 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.09:1 | Fail | Fail | Fail |
| Sample text | 19.21:1 | Pass | Pass | Pass |
| #120A23 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.21:1 | Pass | Pass | Pass |
| Sample text | 1.09: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 #120A23 looks to people with the most common types of color vision deficiency.
#020f24Protanopia
no red cones#030e22Deuteranopia
no green cones#0e0f14Tritanopia
no blue cones#0f0f0fAchromatopsia
no color vision
CSS examples
.background { background-color: #120a23; }
.text { color: #120a23; }
.border { border: 2px solid #120a23; }
.transparent { background-color: rgb(18 10 35 / 50%); }
.gradient { background: linear-gradient(to right, #120a23, #1f0a23); }
Similar colors
#111122Corbeau#060929Mysterious Depths#151931Dark Knight#050d25Void#1d0d1dShot in the Dark#1c0f33Midnight Monarch#03012dMidnight#041330Squid’s Ink
Closest common color name: Dark Purple.
Questions
- What color is #120A23?
- #120A23 is a very dark, moderate violet, closest to the named color Corbeau. It belongs to the black family of colors.
- What is the RGB value of #120A23?
- The RGB value is 18, 10, 35: 18 red, 10 green and 35 blue on a 0 to 255 scale.
- What is the complementary color of #120A23?
- The complementary color is #1B230A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #120A23?
- White text. Black text has a contrast ratio of 1.09:1 and white text 19.21:1. WCAG asks for at least 4.5:1 for normal text.