#2D1F29 color
The hex color #2D1F29 is a very dark, grayish magenta.
In the RGB color model it is made of 17.6% red, 12.2% green and 16.1% blue (45, 31, 41).
Its hue angle is 317°, with 18% saturation and 15% lightness. For print, the CMYK equivalent is 0% cyan, 31% magenta, 9% yellow and 82% black.
The closest named color is Melanzane (#342931), a difference of 3.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.68:1).
#2D1F29 color codes
| HEX | #2D1F29 | |
|---|---|---|
| RGB | rgb(45, 31, 41) | |
| RGB percent | rgb(17.6%, 12.2%, 16.1%) | |
| HSL | hsl(317, 18%, 15%) | |
| HSV / HSB | hsv(317, 31%, 18%) | |
| CMYK | cmyk(0%, 31%, 9%, 82%) | |
| CIE LAB | lab(13.82, 8.89, -4.05) | |
| CIE LCH | lch(13.82, 9.77, 335.5) | |
| CIE XYZ | xyz(1.972, 1.698, 2.321) | |
| Decimal | 2957097 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2D1F29, 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 #2D1F29 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.34:1 | Fail | Fail | Fail |
| Sample text | 15.68:1 | Pass | Pass | Pass |
| #2D1F29 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.68:1 | Pass | Pass | Pass |
| Sample text | 1.34: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 #2D1F29 looks to people with the most common types of color vision deficiency.
#1f2229Protanopia
no red cones#222429Deuteranopia
no green cones#2f1f22Tritanopia
no blue cones#232323Achromatopsia
no color vision
CSS examples
.background { background-color: #2d1f29; }
.text { color: #2d1f29; }
.border { border: 2px solid #2d1f29; }
.transparent { background-color: rgb(45 31 41 / 50%); }
.gradient { background: linear-gradient(to right, #2d1f29, #2d1f22); }
Similar colors
#342931Melanzane#2c1620Black Cherry#34282cSmoky Charcoal#372528Aubergine#352b30Mystical Shadow#1f1518Bats Cloak#1d0d1dShot in the Dark#201b20Night Demons
Closest common color name: Dark Purple.
Questions
- What color is #2D1F29?
- #2D1F29 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 #2D1F29?
- The RGB value is 45, 31, 41: 45 red, 31 green and 41 blue on a 0 to 255 scale.
- What is the complementary color of #2D1F29?
- The complementary color is #1F2D23, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2D1F29?
- White text. Black text has a contrast ratio of 1.34:1 and white text 15.68:1. WCAG asks for at least 4.5:1 for normal text.