#291B2A color
The hex color #291B2A is a very dark, grayish magenta.
In the RGB color model it is made of 16.1% red, 10.6% green and 16.5% blue (41, 27, 42).
Its hue angle is 296°, with 22% saturation and 14% lightness. For print, the CMYK equivalent is 2% cyan, 36% magenta, 0% yellow and 84% black.
The closest named color is Shot in the Dark (#1D0D1D), a difference of 4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.35:1).
#291B2A color codes
| HEX | #291B2A | |
|---|---|---|
| RGB | rgb(41, 27, 42) | |
| RGB percent | rgb(16.1%, 10.6%, 16.5%) | |
| HSL | hsl(296, 22%, 14%) | |
| HSV / HSB | hsv(296, 36%, 16%) | |
| CMYK | cmyk(2%, 36%, 0%, 84%) | |
| CIE LAB | lab(12.11, 10.23, -7.41) | |
| CIE LCH | lch(12.11, 12.63, 324.07) | |
| CIE XYZ | xyz(1.724, 1.423, 2.374) | |
| Decimal | 2693930 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #291B2A, 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 #291B2A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.28:1 | Fail | Fail | Fail |
| Sample text | 16.35:1 | Pass | Pass | Pass |
| #291B2A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.35:1 | Pass | Pass | Pass |
| Sample text | 1.28: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 #291B2A looks to people with the most common types of color vision deficiency.
#1a1f2bProtanopia
no red cones#1d2029Deuteranopia
no green cones#2a1c20Tritanopia
no blue cones#202020Achromatopsia
no color vision
CSS examples
.background { background-color: #291b2a; }
.text { color: #291b2a; }
.border { border: 2px solid #291b2a; }
.transparent { background-color: rgb(41 27 42 / 50%); }
.gradient { background: linear-gradient(to right, #291b2a, #2a1b23); }
Similar colors
#1d0d1dShot in the Dark#2c1620Black Cherry#301934Dark Purple#342931Melanzane#180614Crow#222233Black Velvet#34282cSmoky Charcoal#110011Glossy Black
Questions
- What color is #291B2A?
- #291B2A is a very dark, grayish magenta, closest to the named color Shot in the Dark. It belongs to the gray family of colors.
- What is the RGB value of #291B2A?
- The RGB value is 41, 27, 42: 41 red, 27 green and 42 blue on a 0 to 255 scale.
- What is the complementary color of #291B2A?
- The complementary color is #1C2A1B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #291B2A?
- White text. Black text has a contrast ratio of 1.28:1 and white text 16.35:1. WCAG asks for at least 4.5:1 for normal text.