#17122C color
The hex color #17122C is a very dark, desaturated violet.
In the RGB color model it is made of 9% red, 7.1% green and 17.3% blue (23, 18, 44).
Its hue angle is 252°, with 42% saturation and 12% lightness. For print, the CMYK equivalent is 48% cyan, 59% magenta, 0% yellow and 83% black.
The closest named color is Dark Knight (#151931), a difference of 4.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.11:1).
#17122C color codes
| HEX | #17122C | |
|---|---|---|
| RGB | rgb(23, 18, 44) | |
| RGB percent | rgb(9%, 7.1%, 17.3%) | |
| HSL | hsl(252, 42%, 12%) | |
| HSV / HSB | hsv(252, 59%, 17%) | |
| CMYK | cmyk(48%, 59%, 0%, 83%) | |
| CIE LAB | lab(7.2, 10.46, -16.72) | |
| CIE LCH | lch(7.2, 19.72, 302.02) | |
| CIE XYZ | xyz(1.024, 0.797, 2.482) | |
| Decimal | 1511980 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #17122C, 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 #17122C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.16:1 | Fail | Fail | Fail |
| Sample text | 18.11:1 | Pass | Pass | Pass |
| #17122C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.11:1 | Pass | Pass | Pass |
| Sample text | 1.16: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 #17122C looks to people with the most common types of color vision deficiency.
#08162dProtanopia
no red cones#09152bDeuteranopia
no green cones#11171cTritanopia
no blue cones#161616Achromatopsia
no color vision
CSS examples
.background { background-color: #17122c; }
.text { color: #17122c; }
.border { border: 2px solid #17122c; }
.transparent { background-color: rgb(23 18 44 / 50%); }
.gradient { background: linear-gradient(to right, #17122c, #24122c); }
Similar colors
#151931Dark Knight#1c0f33Midnight Monarch#060929Mysterious Depths#161d3bNightwalker#111122Corbeau#071037Infinite Night#2a2243Midnight Velvet#222244Black Market
Closest common color name: Dark Purple.
Questions
- What color is #17122C?
- #17122C is a very dark, desaturated violet, closest to the named color Dark Knight. It belongs to the black family of colors.
- What is the RGB value of #17122C?
- The RGB value is 23, 18, 44: 23 red, 18 green and 44 blue on a 0 to 255 scale.
- What is the complementary color of #17122C?
- The complementary color is #272C12, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #17122C?
- White text. Black text has a contrast ratio of 1.16:1 and white text 18.11:1. WCAG asks for at least 4.5:1 for normal text.