#170239 color
The hex color #170239 is a very dark, vivid violet.
In the RGB color model it is made of 9% red, 0.8% green and 22.4% blue (23, 2, 57).
Its hue angle is 263°, with 93% saturation and 12% lightness. For print, the CMYK equivalent is 60% cyan, 96% magenta, 0% yellow and 78% black.
The closest named color is Quiet Abyss (#160435), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 19.02:1).
#170239 color codes
| HEX | #170239 | |
|---|---|---|
| RGB | rgb(23, 2, 57) | |
| RGB percent | rgb(9%, 0.8%, 22.4%) | |
| HSL | hsl(263, 93%, 12%) | |
| HSV / HSB | hsv(263, 96%, 22%) | |
| CMYK | cmyk(60%, 96%, 0%, 78%) | |
| CIE LAB | lab(4.71, 24.31, -30.3) | |
| CIE LCH | lch(4.71, 38.84, 308.74) | |
| CIE XYZ | xyz(1.113, 0.521, 3.912) | |
| Decimal | 1507897 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #170239, 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 #170239 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.1:1 | Fail | Fail | Fail |
| Sample text | 19.02:1 | Pass | Pass | Pass |
| #170239 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 #170239 looks to people with the most common types of color vision deficiency.
#00113aProtanopia
no red cones#000f38Deuteranopia
no green cones#0b121eTritanopia
no blue cones#101010Achromatopsia
no color vision
CSS examples
.background { background-color: #170239; }
.text { color: #170239; }
.border { border: 2px solid #170239; }
.transparent { background-color: rgb(23 2 57 / 50%); }
.gradient { background: linear-gradient(to right, #170239, #330239); }
Similar colors
#160435Quiet Abyss#220044Your Darkness#220033Coal Mine#0f084bSilent Twilight#111144Deadly Depths#000044Endless Galaxy#1c0f33Midnight Monarch#000b44Storm
Closest common color name: Dark Purple.
Questions
- What color is #170239?
- #170239 is a very dark, vivid violet, closest to the named color Quiet Abyss. It belongs to the black family of colors.
- What is the RGB value of #170239?
- The RGB value is 23, 2, 57: 23 red, 2 green and 57 blue on a 0 to 255 scale.
- What is the complementary color of #170239?
- The complementary color is #243902, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #170239?
- 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.