#171020 color
The hex color #171020 is a very dark, desaturated violet.
In the RGB color model it is made of 9% red, 6.3% green and 12.5% blue (23, 16, 32).
Its hue angle is 266°, with 33% saturation and 9% lightness. For print, the CMYK equivalent is 28% cyan, 50% magenta, 0% yellow and 87% black.
The closest named color is Corbeau (#111122), a difference of 3.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.56:1).
#171020 color codes
| HEX | #171020 | |
|---|---|---|
| RGB | rgb(23, 16, 32) | |
| RGB percent | rgb(9%, 6.3%, 12.5%) | |
| HSL | hsl(266, 33%, 9%) | |
| HSV / HSB | hsv(266, 50%, 13%) | |
| CMYK | cmyk(28%, 50%, 0%, 87%) | |
| CIE LAB | lab(5.93, 7.16, -9.6) | |
| CIE LCH | lch(5.93, 11.97, 306.73) | |
| CIE XYZ | xyz(0.799, 0.657, 1.451) | |
| Decimal | 1511456 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #171020, 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 #171020 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.13:1 | Fail | Fail | Fail |
| Sample text | 18.56:1 | Pass | Pass | Pass |
| #171020 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.56:1 | Pass | Pass | Pass |
| Sample text | 1.13: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 #171020 looks to people with the most common types of color vision deficiency.
#0c1321Protanopia
no red cones#0e1320Deuteranopia
no green cones#161316Tritanopia
no blue cones#131313Achromatopsia
no color vision
CSS examples
.background { background-color: #171020; }
.text { color: #171020; }
.border { border: 2px solid #171020; }
.transparent { background-color: rgb(23 16 32 / 50%); }
.gradient { background: linear-gradient(to right, #171020, #1f1020); }
Similar colors
#111122Corbeau#1d0d1dShot in the Dark#110011Glossy Black#180614Crow#060313Obsidian Shard#1a161dViolet Void#16141cBack in Black#150811Noir Fiction
Closest common color name: Dark Purple.
Questions
- What color is #171020?
- #171020 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 #171020?
- The RGB value is 23, 16, 32: 23 red, 16 green and 32 blue on a 0 to 255 scale.
- What is the complementary color of #171020?
- The complementary color is #192010, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #171020?
- White text. Black text has a contrast ratio of 1.13:1 and white text 18.56:1. WCAG asks for at least 4.5:1 for normal text.