#520E4F color

#520E4F rgb(82, 14, 79)
Shades of purple

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
RGBrgb(82, 14, 79)
RGB percentrgb(32.2%, 5.5%, 31%)
HSLhsl(303, 71%, 19%)
HSV / HSBhsv(303, 83%, 32%)
CMYKcmyk(0%, 83%, 4%, 68%)
CIE LABlab(18.68, 38.45, -22.71)
CIE LCHlch(18.68, 44.66, 329.43)
CIE XYZxyz(5.048, 2.673, 7.646)
Decimal5377615
Short hexNone (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 #520E4FRatioAAAAAAA large
Sample text1.53:1FailFailFail
Sample text13.69:1PassPassPass
#520E4F as text onRatioAAAAAAA large
Sample text13.69:1PassPassPass
Sample text1.53:1FailFailFail

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.

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); }
Background
Text color
Border

Similar colors

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.