#291228 color
The hex color #291228 is a very dark, desaturated magenta.
In the RGB color model it is made of 16.1% red, 7.1% green and 15.7% blue (41, 18, 40).
Its hue angle is 303°, with 39% saturation and 12% lightness. For print, the CMYK equivalent is 0% cyan, 56% magenta, 2% yellow and 84% black.
The closest named color is Dark Purple (#301934), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.33:1).
#291228 color codes
| HEX | #291228 | |
|---|---|---|
| RGB | rgb(41, 18, 40) | |
| RGB percent | rgb(16.1%, 7.1%, 15.7%) | |
| HSL | hsl(303, 39%, 12%) | |
| HSV / HSB | hsv(303, 56%, 16%) | |
| CMYK | cmyk(0%, 56%, 2%, 84%) | |
| CIE LAB | lab(9.46, 16.06, -10) | |
| CIE LCH | lch(9.46, 18.92, 328.07) | |
| CIE XYZ | xyz(1.514, 1.057, 2.131) | |
| Decimal | 2691624 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #291228, 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 #291228 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.21:1 | Fail | Fail | Fail |
| Sample text | 17.33:1 | Pass | Pass | Pass |
| #291228 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.33:1 | Pass | Pass | Pass |
| Sample text | 1.21: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 #291228 looks to people with the most common types of color vision deficiency.
#111829Protanopia
no red cones#171c27Deuteranopia
no green cones#2a141bTritanopia
no blue cones#1a1a1aAchromatopsia
no color vision
CSS examples
.background { background-color: #291228; }
.text { color: #291228; }
.border { border: 2px solid #291228; }
.transparent { background-color: rgb(41 18 40 / 50%); }
.gradient { background: linear-gradient(to right, #291228, #29121c); }
Similar colors
#301934Dark Purple#2b0f2eDark Prom Queen#391531Nightly Voyager#1d0d1dShot in the Dark#220022Black Sabbath#2c1620Black Cherry#220011Belladonna#3b193fCreatures of the Night
Questions
- What color is #291228?
- #291228 is a very dark, desaturated magenta, closest to the named color Dark Purple. It belongs to the black family of colors.
- What is the RGB value of #291228?
- The RGB value is 41, 18, 40: 41 red, 18 green and 40 blue on a 0 to 255 scale.
- What is the complementary color of #291228?
- The complementary color is #122913, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #291228?
- White text. Black text has a contrast ratio of 1.21:1 and white text 17.33:1. WCAG asks for at least 4.5:1 for normal text.