#511E4B color
The hex color #511E4B is a dark, desaturated magenta.
In the RGB color model it is made of 31.8% red, 11.8% green and 29.4% blue (81, 30, 75).
Its hue angle is 307°, with 46% saturation and 22% lightness. For print, the CMYK equivalent is 0% cyan, 63% magenta, 7% yellow and 68% black.
The closest named color is Murasaki (#4F284B), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.83:1).
#511E4B color codes
| HEX | #511E4B | |
|---|---|---|
| RGB | rgb(81, 30, 75) | |
| RGB percent | rgb(31.8%, 11.8%, 29.4%) | |
| HSL | hsl(307, 46%, 22%) | |
| HSV / HSB | hsv(307, 63%, 32%) | |
| CMYK | cmyk(0%, 63%, 7%, 68%) | |
| CIE LAB | lab(20.77, 30.42, -16.72) | |
| CIE LCH | lch(20.77, 34.71, 331.21) | |
| CIE XYZ | xyz(5.128, 3.186, 7) | |
| Decimal | 5316171 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #511E4B, 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 #511E4B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.64:1 | Fail | Fail | Fail |
| Sample text | 12.83:1 | Pass | Pass | Pass |
| #511E4B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.83:1 | Pass | Pass | Pass |
| Sample text | 1.64: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 #511E4B looks to people with the most common types of color vision deficiency.
#1c2d4cProtanopia
no red cones#2c354aDeuteranopia
no green cones#542231Tritanopia
no blue cones#323232Achromatopsia
no color vision
CSS examples
.background { background-color: #511e4b; }
.text { color: #511e4b; }
.border { border: 2px solid #511e4b; }
.transparent { background-color: rgb(81 30 75 / 50%); }
.gradient { background: linear-gradient(to right, #511e4b, #511e32); }
Similar colors
#4f284bMurasaki#581a57Purple Velour#441144Velvet Cosmos#442244Purple Void#551155Cosmic Explorer#3b193fCreatures of the Night#4a2559Wonka Purple#431c53Plunged Into Darkness
Closest common color name: Byzantium.
Questions
- What color is #511E4B?
- #511E4B 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 #511E4B?
- The RGB value is 81, 30, 75: 81 red, 30 green and 75 blue on a 0 to 255 scale.
- What is the complementary color of #511E4B?
- The complementary color is #1E5124, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #511E4B?
- White text. Black text has a contrast ratio of 1.64:1 and white text 12.83:1. WCAG asks for at least 4.5:1 for normal text.