#5A4C91 color

#5A4C91 rgb(90, 76, 145)
Shades of blue

The hex color #5A4C91 is a desaturated violet.

In the RGB color model it is made of 35.3% red, 29.8% green and 56.9% blue (90, 76, 145).

Its hue angle is 252°, with 31% saturation and 43% lightness. For print, the CMYK equivalent is 38% cyan, 48% magenta, 0% yellow and 43% black.

The closest named color is Ultrapurple Merge (#654EA3), a difference of 3.7 ΔE, a small difference.

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

#5A4C91 color codes

HEX#5A4C91
RGBrgb(90, 76, 145)
RGB percentrgb(35.3%, 29.8%, 56.9%)
HSLhsl(252, 31%, 43%)
HSV / HSBhsv(252, 48%, 57%)
CMYKcmyk(38%, 48%, 0%, 43%)
CIE LABlab(36.72, 22.97, -36.24)
CIE LCHlch(36.72, 42.91, 302.37)
CIE XYZxyz(11.91, 9.387, 27.967)
Decimal5917841
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #5A4C91, 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 #5A4C91RatioAAAAAAA large
Sample text2.88:1FailFailFail
Sample text7.3:1PassPassPass
#5A4C91 as text onRatioAAAAAAA large
Sample text7.3:1PassPassPass
Sample text2.88: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 #5A4C91 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #5a4c91; }
.text { color: #5a4c91; }
.border { border: 2px solid #5a4c91; }
.transparent { background-color: rgb(90 76 145 / 50%); }
.gradient { background: linear-gradient(to right, #5a4c91, #7d4c91); }
Background
Text color
Border

Similar colors

Questions

What color is #5A4C91?
#5A4C91 is a desaturated violet, closest to the named color Ultrapurple Merge. It belongs to the blue family of colors.
What is the RGB value of #5A4C91?
The RGB value is 90, 76, 145: 90 red, 76 green and 145 blue on a 0 to 255 scale.
What is the complementary color of #5A4C91?
The complementary color is #83914C, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5A4C91?
White text. Black text has a contrast ratio of 2.88:1 and white text 7.3:1. WCAG asks for at least 4.5:1 for normal text.