#170A23 color
The hex color #170A23 is a very dark, moderate violet.
In the RGB color model it is made of 9% red, 3.9% green and 13.7% blue (23, 10, 35).
Its hue angle is 271°, with 56% saturation and 9% lightness. For print, the CMYK equivalent is 34% cyan, 71% magenta, 0% yellow and 86% black.
The closest named color is Shot in the Dark (#1D0D1D), a difference of 4.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.02:1).
#170A23 color codes
| HEX | #170A23 | |
|---|---|---|
| RGB | rgb(23, 10, 35) | |
| RGB percent | rgb(9%, 3.9%, 13.7%) | |
| HSL | hsl(271, 56%, 9%) | |
| HSV / HSB | hsv(271, 71%, 14%) | |
| CMYK | cmyk(34%, 71%, 0%, 86%) | |
| CIE LAB | lab(4.7, 11.08, -13.8) | |
| CIE LCH | lch(4.7, 17.69, 308.76) | |
| CIE XYZ | xyz(0.765, 0.521, 1.65) | |
| Decimal | 1509923 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #170A23, 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 #170A23 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.1:1 | Fail | Fail | Fail |
| Sample text | 19.02:1 | Pass | Pass | Pass |
| #170A23 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.02: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 #170A23 looks to people with the most common types of color vision deficiency.
#031024Protanopia
no red cones#061022Deuteranopia
no green cones#150f15Tritanopia
no blue cones#101010Achromatopsia
no color vision
CSS examples
.background { background-color: #170a23; }
.text { color: #170a23; }
.border { border: 2px solid #170a23; }
.transparent { background-color: rgb(23 10 35 / 50%); }
.gradient { background: linear-gradient(to right, #170a23, #230a22); }
Similar colors
#1d0d1dShot in the Dark#1c0f33Midnight Monarch#111122Corbeau#060929Mysterious Depths#110011Glossy Black#151931Dark Knight#180614Crow#220022Black Sabbath
Closest common color name: Dark Purple.
Questions
- What color is #170A23?
- #170A23 is a very dark, moderate violet, closest to the named color Shot in the Dark. It belongs to the black family of colors.
- What is the RGB value of #170A23?
- The RGB value is 23, 10, 35: 23 red, 10 green and 35 blue on a 0 to 255 scale.
- What is the complementary color of #170A23?
- The complementary color is #16230A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #170A23?
- White text. Black text has a contrast ratio of 1.1:1 and white text 19.02:1. WCAG asks for at least 4.5:1 for normal text.