#5A2D62 color

#5A2D62 rgb(90, 45, 98)
Shades of purple

The hex color #5A2D62 is a dark, desaturated magenta.

In the RGB color model it is made of 35.3% red, 17.6% green and 38.4% blue (90, 45, 98).

Its hue angle is 291°, with 37% saturation and 28% lightness. For print, the CMYK equivalent is 8% cyan, 54% magenta, 0% yellow and 62% black.

The closest named color is Imperial Purple (#5B3167), a difference of 1.3 ΔE, which is barely visible.

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

#5A2D62 color codes

HEX#5A2D62
RGBrgb(90, 45, 98)
RGB percentrgb(35.3%, 17.6%, 38.4%)
HSLhsl(291, 37%, 28%)
HSV / HSBhsv(291, 54%, 38%)
CMYKcmyk(8%, 54%, 0%, 62%)
CIE LABlab(26.54, 29.74, -22.85)
CIE LCHlch(26.54, 37.51, 322.46)
CIE XYZxyz(7.359, 4.933, 12.117)
Decimal5909858
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #5A2D62, 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 #5A2D62RatioAAAAAAA large
Sample text1.99:1FailFailFail
Sample text10.57:1PassPassPass
#5A2D62 as text onRatioAAAAAAA large
Sample text10.57:1PassPassPass
Sample text1.99: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 #5A2D62 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #5a2d62; }
.text { color: #5a2d62; }
.border { border: 2px solid #5a2d62; }
.transparent { background-color: rgb(90 45 98 / 50%); }
.gradient { background: linear-gradient(to right, #5a2d62, #622d50); }
Background
Text color
Border

Similar colors

Closest common color name: Byzantium.

Questions

What color is #5A2D62?
#5A2D62 is a dark, desaturated magenta, closest to the named color Imperial Purple. It belongs to the purple family of colors.
What is the RGB value of #5A2D62?
The RGB value is 90, 45, 98: 90 red, 45 green and 98 blue on a 0 to 255 scale.
What is the complementary color of #5A2D62?
The complementary color is #35622D, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5A2D62?
White text. Black text has a contrast ratio of 1.99:1 and white text 10.57:1. WCAG asks for at least 4.5:1 for normal text.