#5A2262 color

#5A2262 rgb(90, 34, 98)
Shades of purple

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

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

Its hue angle is 293°, with 48% saturation and 26% lightness. For print, the CMYK equivalent is 8% cyan, 65% magenta, 0% yellow and 62% black.

The closest named color is Elegant Purple Gown (#552367), a difference of 2.1 ΔE, a small difference.

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

#5A2262 color codes

HEX#5A2262
RGBrgb(90, 34, 98)
RGB percentrgb(35.3%, 13.3%, 38.4%)
HSLhsl(293, 48%, 26%)
HSV / HSBhsv(293, 65%, 38%)
CMYKcmyk(8%, 65%, 0%, 62%)
CIE LABlab(24.32, 35.71, -26.36)
CIE LCHlch(24.32, 44.38, 323.57)
CIE XYZxyz(6.993, 4.2, 11.995)
Decimal5907042
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #5A2262, 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 #5A2262RatioAAAAAAA large
Sample text1.84:1FailFailFail
Sample text11.41:1PassPassPass
#5A2262 as text onRatioAAAAAAA large
Sample text11.41:1PassPassPass
Sample text1.84: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 #5A2262 looks to people with the most common types of color vision deficiency.

CSS examples

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

Similar colors

Closest common color name: Byzantium.

Questions

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