#291728 color
The hex color #291728 is a very dark, desaturated magenta.
In the RGB color model it is made of 16.1% red, 9% green and 15.7% blue (41, 23, 40).
Its hue angle is 303°, with 28% saturation and 13% lightness. For print, the CMYK equivalent is 0% cyan, 44% magenta, 2% yellow and 84% black.
The closest named color is Shot in the Dark (#1D0D1D), a difference of 3.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.83:1).
#291728 color codes
| HEX | #291728 | |
|---|---|---|
| RGB | rgb(41, 23, 40) | |
| RGB percent | rgb(16.1%, 9%, 15.7%) | |
| HSL | hsl(303, 28%, 13%) | |
| HSV / HSB | hsv(303, 44%, 16%) | |
| CMYK | cmyk(0%, 44%, 2%, 84%) | |
| CIE LAB | lab(10.83, 12.59, -7.89) | |
| CIE LCH | lch(10.83, 14.86, 327.93) | |
| CIE XYZ | xyz(1.604, 1.237, 2.161) | |
| Decimal | 2692904 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #291728, 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 #291728 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.25:1 | Fail | Fail | Fail |
| Sample text | 16.83:1 | Pass | Pass | Pass |
| #291728 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.83:1 | Pass | Pass | Pass |
| Sample text | 1.25: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 #291728 looks to people with the most common types of color vision deficiency.
#161c29Protanopia
no red cones#1b1e27Deuteranopia
no green cones#2a181dTritanopia
no blue cones#1d1d1dAchromatopsia
no color vision
CSS examples
.background { background-color: #291728; }
.text { color: #291728; }
.border { border: 2px solid #291728; }
.transparent { background-color: rgb(41 23 40 / 50%); }
.gradient { background: linear-gradient(to right, #291728, #29171f); }
Similar colors
#1d0d1dShot in the Dark#2c1620Black Cherry#301934Dark Purple#2b0f2eDark Prom Queen#180614Crow#391531Nightly Voyager#220011Belladonna#220022Black Sabbath
Questions
- What color is #291728?
- #291728 is a very dark, desaturated magenta, closest to the named color Shot in the Dark. It belongs to the black family of colors.
- What is the RGB value of #291728?
- The RGB value is 41, 23, 40: 41 red, 23 green and 40 blue on a 0 to 255 scale.
- What is the complementary color of #291728?
- The complementary color is #172918, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #291728?
- White text. Black text has a contrast ratio of 1.25:1 and white text 16.83:1. WCAG asks for at least 4.5:1 for normal text.