#502B4D color
The hex color #502B4D is a dark, desaturated magenta.
In the RGB color model it is made of 31.4% red, 16.9% green and 30.2% blue (80, 43, 77).
Its hue angle is 305°, with 30% saturation and 24% lightness. For print, the CMYK equivalent is 0% cyan, 46% magenta, 4% yellow and 69% black.
The closest named color is Murasaki (#4F284B), a difference of 0.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.71:1).
#502B4D color codes
| HEX | #502B4D | |
|---|---|---|
| RGB | rgb(80, 43, 77) | |
| RGB percent | rgb(31.4%, 16.9%, 30.2%) | |
| HSL | hsl(305, 30%, 24%) | |
| HSV / HSB | hsv(305, 46%, 31%) | |
| CMYK | cmyk(0%, 46%, 4%, 69%) | |
| CIE LAB | lab(23.57, 22.97, -13.74) | |
| CIE LCH | lch(23.57, 26.77, 329.11) | |
| CIE XYZ | xyz(5.512, 3.969, 7.496) | |
| Decimal | 5253965 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #502B4D, 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 #502B4D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.79:1 | Fail | Fail | Fail |
| Sample text | 11.71:1 | Pass | Pass | Pass |
| #502B4D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.71:1 | Pass | Pass | Pass |
| Sample text | 1.79: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 #502B4D looks to people with the most common types of color vision deficiency.
#29354eProtanopia
no red cones#333a4cDeuteranopia
no green cones#532e38Tritanopia
no blue cones#383838Achromatopsia
no color vision
CSS examples
.background { background-color: #502b4d; }
.text { color: #502b4d; }
.border { border: 2px solid #502b4d; }
.transparent { background-color: rgb(80 43 77 / 50%); }
.gradient { background: linear-gradient(to right, #502b4d, #502b3a); }
Similar colors
#4f284bMurasaki#543254Purple Prose#442244Purple Void#4e334eShadow Purple#5b365eLong Passionate Night#4f325eRoyal Crown#4a2559Wonka Purple#673362Opulent Purple
Closest common color name: Byzantium.
Questions
- What color is #502B4D?
- #502B4D 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 #502B4D?
- The RGB value is 80, 43, 77: 80 red, 43 green and 77 blue on a 0 to 255 scale.
- What is the complementary color of #502B4D?
- The complementary color is #2B502E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #502B4D?
- White text. Black text has a contrast ratio of 1.79:1 and white text 11.71:1. WCAG asks for at least 4.5:1 for normal text.