#512D4D color
The hex color #512D4D is a dark, desaturated magenta.
In the RGB color model it is made of 31.8% red, 17.6% green and 30.2% blue (81, 45, 77).
Its hue angle is 307°, with 29% saturation and 25% lightness. For print, the CMYK equivalent is 0% cyan, 44% magenta, 5% yellow and 68% black.
The closest named color is Murasaki (#4F284B), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.46:1).
#512D4D color codes
| HEX | #512D4D | |
|---|---|---|
| RGB | rgb(81, 45, 77) | |
| RGB percent | rgb(31.8%, 17.6%, 30.2%) | |
| HSL | hsl(307, 29%, 25%) | |
| HSV / HSB | hsv(307, 44%, 32%) | |
| CMYK | cmyk(0%, 44%, 5%, 68%) | |
| CIE LAB | lab(24.2, 22.1, -12.76) | |
| CIE LCH | lch(24.2, 25.52, 330) | |
| CIE XYZ | xyz(5.671, 4.162, 7.524) | |
| Decimal | 5320013 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #512D4D, 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 #512D4D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.83:1 | Fail | Fail | Fail |
| Sample text | 11.46:1 | Pass | Pass | Pass |
| #512D4D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.46:1 | Pass | Pass | Pass |
| Sample text | 1.83: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 #512D4D looks to people with the most common types of color vision deficiency.
#2c364eProtanopia
no red cones#353b4cDeuteranopia
no green cones#542f39Tritanopia
no blue cones#3a3a3aAchromatopsia
no color vision
CSS examples
.background { background-color: #512d4d; }
.text { color: #512d4d; }
.border { border: 2px solid #512d4d; }
.transparent { background-color: rgb(81 45 77 / 50%); }
.gradient { background: linear-gradient(to right, #512d4d, #512d3b); }
Similar colors
#4f284bMurasaki#543254Purple Prose#4e334eShadow Purple#442244Purple Void#5b365eLong Passionate Night#4f325eRoyal Crown#673362Opulent Purple#653b66Wine Tour
Closest common color name: Eggplant.
Questions
- What color is #512D4D?
- #512D4D is a dark, desaturated magenta, closest to the named color Murasaki. It belongs to the purple family of colors.
- What is the RGB value of #512D4D?
- The RGB value is 81, 45, 77: 81 red, 45 green and 77 blue on a 0 to 255 scale.
- What is the complementary color of #512D4D?
- The complementary color is #2D5131, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #512D4D?
- White text. Black text has a contrast ratio of 1.83:1 and white text 11.46:1. WCAG asks for at least 4.5:1 for normal text.