#291F26 color
The hex color #291F26 is a very dark, grayish magenta.
In the RGB color model it is made of 16.1% red, 12.2% green and 14.9% blue (41, 31, 38).
Its hue angle is 318°, with 14% saturation and 14% lightness. For print, the CMYK equivalent is 0% cyan, 24% magenta, 7% yellow and 84% black.
The closest named color is Melanzane (#342931), a difference of 3.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.93:1).
#291F26 color codes
| HEX | #291F26 | |
|---|---|---|
| RGB | rgb(41, 31, 38) | |
| RGB percent | rgb(16.1%, 12.2%, 14.9%) | |
| HSL | hsl(318, 14%, 14%) | |
| HSV / HSB | hsv(318, 24%, 16%) | |
| CMYK | cmyk(0%, 24%, 7%, 84%) | |
| CIE LAB | lab(13.18, 6.37, -2.88) | |
| CIE LCH | lch(13.18, 6.99, 335.65) | |
| CIE XYZ | xyz(1.754, 1.591, 2.048) | |
| Decimal | 2694950 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #291F26, 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 #291F26 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.32:1 | Fail | Fail | Fail |
| Sample text | 15.93:1 | Pass | Pass | Pass |
| #291F26 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.93:1 | Pass | Pass | Pass |
| Sample text | 1.32: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 #291F26 looks to people with the most common types of color vision deficiency.
#1f2126Protanopia
no red cones#212226Deuteranopia
no green cones#2a1f21Tritanopia
no blue cones#222222Achromatopsia
no color vision
CSS examples
.background { background-color: #291f26; }
.text { color: #291f26; }
.border { border: 2px solid #291f26; }
.transparent { background-color: rgb(41 31 38 / 50%); }
.gradient { background: linear-gradient(to right, #291f26, #291f21); }
Similar colors
#342931Melanzane#201b20Night Demons#252024Ink Black#34282cSmoky Charcoal#352b30Mystical Shadow#1f1518Bats Cloak#1a161dViolet Void#241f20Velvet Black
Closest common color name: Licorice.
Questions
- What color is #291F26?
- #291F26 is a very dark, grayish magenta, closest to the named color Melanzane. It belongs to the black family of colors.
- What is the RGB value of #291F26?
- The RGB value is 41, 31, 38: 41 red, 31 green and 38 blue on a 0 to 255 scale.
- What is the complementary color of #291F26?
- The complementary color is #1F2922, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #291F26?
- White text. Black text has a contrast ratio of 1.32:1 and white text 15.93:1. WCAG asks for at least 4.5:1 for normal text.