#520E4F color
The hex color #520E4F is a very dark, moderate magenta.
In the RGB color model it is made of 32.2% red, 5.5% green and 31% blue (82, 14, 79).
Its hue angle is 303°, with 71% saturation and 19% lightness. For print, the CMYK equivalent is 0% cyan, 83% magenta, 4% yellow and 68% black.
The closest named color is Cosmic Explorer (#551155), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.69:1).
#520E4F color codes
| HEX | #520E4F | |
|---|---|---|
| RGB | rgb(82, 14, 79) | |
| RGB percent | rgb(32.2%, 5.5%, 31%) | |
| HSL | hsl(303, 71%, 19%) | |
| HSV / HSB | hsv(303, 83%, 32%) | |
| CMYK | cmyk(0%, 83%, 4%, 68%) | |
| CIE LAB | lab(18.68, 38.45, -22.71) | |
| CIE LCH | lch(18.68, 44.66, 329.43) | |
| CIE XYZ | xyz(5.048, 2.673, 7.646) | |
| Decimal | 5377615 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #520E4F, 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 #520E4F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.53:1 | Fail | Fail | Fail |
| Sample text | 13.69:1 | Pass | Pass | Pass |
| #520E4F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.69:1 | Pass | Pass | Pass |
| Sample text | 1.53: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 #520E4F looks to people with the most common types of color vision deficiency.
#052851Protanopia
no red cones#23314dDeuteranopia
no green cones#55182eTritanopia
no blue cones#2d2d2dAchromatopsia
no color vision
CSS examples
.background { background-color: #520e4f; }
.text { color: #520e4f; }
.border { border: 2px solid #520e4f; }
.transparent { background-color: rgb(82 14 79 / 50%); }
.gradient { background: linear-gradient(to right, #520e4f, #520e2d); }
Similar colors
#551155Cosmic Explorer#550055Cloak and Dagger#581a57Purple Velour#441144Velvet Cosmos#480656Clairvoyant#431c53Plunged Into Darkness#3b0346Romanic Scene#4a2559Wonka Purple
Closest common color name: Byzantium.
Questions
- What color is #520E4F?
- #520E4F is a very dark, moderate magenta, closest to the named color Cosmic Explorer. It belongs to the purple family of colors.
- What is the RGB value of #520E4F?
- The RGB value is 82, 14, 79: 82 red, 14 green and 79 blue on a 0 to 255 scale.
- What is the complementary color of #520E4F?
- The complementary color is #0E5211, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #520E4F?
- White text. Black text has a contrast ratio of 1.53:1 and white text 13.69:1. WCAG asks for at least 4.5:1 for normal text.