#2D1D43 color
The hex color #2D1D43 is a very dark, desaturated violet.
In the RGB color model it is made of 17.6% red, 11.4% green and 26.3% blue (45, 29, 67).
Its hue angle is 265°, with 40% saturation and 19% lightness. For print, the CMYK equivalent is 33% cyan, 57% magenta, 0% yellow and 74% black.
The closest named color is Midnight Velvet (#2A2243), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.35:1).
#2D1D43 color codes
| HEX | #2D1D43 | |
|---|---|---|
| RGB | rgb(45, 29, 67) | |
| RGB percent | rgb(17.6%, 11.4%, 26.3%) | |
| HSL | hsl(265, 40%, 19%) | |
| HSV / HSB | hsv(265, 57%, 26%) | |
| CMYK | cmyk(33%, 57%, 0%, 74%) | |
| CIE LAB | lab(14.63, 17.33, -21.25) | |
| CIE LCH | lch(14.63, 27.42, 309.2) | |
| CIE XYZ | xyz(2.534, 1.842, 5.531) | |
| Decimal | 2956611 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2D1D43, 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 #2D1D43 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.37:1 | Fail | Fail | Fail |
| Sample text | 15.35:1 | Pass | Pass | Pass |
| #2D1D43 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.35:1 | Pass | Pass | Pass |
| Sample text | 1.37: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 #2D1D43 looks to people with the most common types of color vision deficiency.
#112544Protanopia
no red cones#152542Deuteranopia
no green cones#29242cTritanopia
no blue cones#252525Achromatopsia
no color vision
CSS examples
.background { background-color: #2d1d43; }
.text { color: #2d1d43; }
.border { border: 2px solid #2d1d43; }
.transparent { background-color: rgb(45 29 67 / 50%); }
.gradient { background: linear-gradient(to right, #2d1d43, #401d43); }
Similar colors
#2a2243Midnight Velvet#372354Stormy Night#211d49Azulado#2a2551Pāua#1c0f33Midnight Monarch#231c4dSilent Orbit#372d52Midnight Pie#222244Black Market
Closest common color name: Dark Purple.
Questions
- What color is #2D1D43?
- #2D1D43 is a very dark, desaturated violet, closest to the named color Midnight Velvet. It belongs to the purple family of colors.
- What is the RGB value of #2D1D43?
- The RGB value is 45, 29, 67: 45 red, 29 green and 67 blue on a 0 to 255 scale.
- What is the complementary color of #2D1D43?
- The complementary color is #33431D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2D1D43?
- White text. Black text has a contrast ratio of 1.37:1 and white text 15.35:1. WCAG asks for at least 4.5:1 for normal text.