#24173D color
The hex color #24173D is a very dark, desaturated violet.
In the RGB color model it is made of 14.1% red, 9% green and 23.9% blue (36, 23, 61).
Its hue angle is 261°, with 45% saturation and 16% lightness. For print, the CMYK equivalent is 41% cyan, 62% magenta, 0% yellow and 76% black.
The closest named color is Midnight Monarch (#1C0F33), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.6:1).
#24173D color codes
| HEX | #24173D | |
|---|---|---|
| RGB | rgb(36, 23, 61) | |
| RGB percent | rgb(14.1%, 9%, 23.9%) | |
| HSL | hsl(261, 45%, 16%) | |
| HSV / HSB | hsv(261, 62%, 24%) | |
| CMYK | cmyk(41%, 62%, 0%, 76%) | |
| CIE LAB | lab(11.45, 16.82, -22.19) | |
| CIE LCH | lch(11.45, 27.84, 307.16) | |
| CIE XYZ | xyz(1.876, 1.325, 4.571) | |
| Decimal | 2365245 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #24173D, 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 #24173D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.26:1 | Fail | Fail | Fail |
| Sample text | 16.6:1 | Pass | Pass | Pass |
| #24173D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.6:1 | Pass | Pass | Pass |
| Sample text | 1.26: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 #24173D looks to people with the most common types of color vision deficiency.
#071f3eProtanopia
no red cones#0b1e3cDeuteranopia
no green cones#1e1f27Tritanopia
no blue cones#1e1e1eAchromatopsia
no color vision
CSS examples
.background { background-color: #24173d; }
.text { color: #24173d; }
.border { border: 2px solid #24173d; }
.transparent { background-color: rgb(36 23 61 / 50%); }
.gradient { background: linear-gradient(to right, #24173d, #37173d); }
Similar colors
#1c0f33Midnight Monarch#2a2243Midnight Velvet#211d49Azulado#231c4dSilent Orbit#222244Black Market#160435Quiet Abyss#2a2551Pāua#372354Stormy Night
Closest common color name: Dark Purple.
Questions
- What color is #24173D?
- #24173D is a very dark, desaturated violet, closest to the named color Midnight Monarch. It belongs to the black family of colors.
- What is the RGB value of #24173D?
- The RGB value is 36, 23, 61: 36 red, 23 green and 61 blue on a 0 to 255 scale.
- What is the complementary color of #24173D?
- The complementary color is #303D17, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #24173D?
- White text. Black text has a contrast ratio of 1.26:1 and white text 16.6:1. WCAG asks for at least 4.5:1 for normal text.