#522D8E color

#522D8E rgb(82, 45, 142)
Shades of purple

The hex color #522D8E is a dark, moderate violet.

In the RGB color model it is made of 32.2% red, 17.6% green and 55.7% blue (82, 45, 142).

Its hue angle is 263°, with 52% saturation and 37% lightness. For print, the CMYK equivalent is 42% cyan, 68% magenta, 0% yellow and 44% black.

The closest named color is Night Fever (#572E89), a difference of 1.6 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 9.88:1).

#522D8E color codes

HEX#522D8E
RGBrgb(82, 45, 142)
RGB percentrgb(32.2%, 17.6%, 55.7%)
HSLhsl(263, 52%, 37%)
HSV / HSBhsv(263, 68%, 56%)
CMYKcmyk(42%, 68%, 0%, 44%)
CIE LABlab(28.44, 38.84, -47.74)
CIE LCHlch(28.44, 61.54, 309.13)
CIE XYZxyz(9.299, 5.623, 26.181)
Decimal5385614
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #522D8E, 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 #522D8ERatioAAAAAAA large
Sample text2.12:1FailFailFail
Sample text9.88:1PassPassPass
#522D8E as text onRatioAAAAAAA large
Sample text9.88:1PassPassPass
Sample text2.12: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 #522D8E looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #522d8e; }
.text { color: #522d8e; }
.border { border: 2px solid #522d8e; }
.transparent { background-color: rgb(82 45 142 / 50%); }
.gradient { background: linear-gradient(to right, #522d8e, #832d8e); }
Background
Text color
Border

Similar colors

Closest common color name: Rebecca Purple.

Questions

What color is #522D8E?
#522D8E is a dark, moderate violet, closest to the named color Night Fever. It belongs to the purple family of colors.
What is the RGB value of #522D8E?
The RGB value is 82, 45, 142: 82 red, 45 green and 142 blue on a 0 to 255 scale.
What is the complementary color of #522D8E?
The complementary color is #698E2D, found by rotating the hue 180° on the color wheel.
Is black or white text better on #522D8E?
White text. Black text has a contrast ratio of 2.12:1 and white text 9.88:1. WCAG asks for at least 4.5:1 for normal text.