#5A4C81 color

#5A4C81 rgb(90, 76, 129)
Shades of purple

The hex color #5A4C81 is a desaturated violet.

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

Its hue angle is 256°, with 26% saturation and 40% lightness. For print, the CMYK equivalent is 30% cyan, 41% magenta, 0% yellow and 49% black.

The closest named color is Freshly Purpleized (#5C5083), a difference of 1.3 ΔE, which is barely visible.

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

#5A4C81 color codes

HEX#5A4C81
RGBrgb(90, 76, 129)
RGB percentrgb(35.3%, 29.8%, 50.6%)
HSLhsl(256, 26%, 40%)
HSV / HSBhsv(256, 41%, 51%)
CMYKcmyk(30%, 41%, 0%, 49%)
CIE LABlab(35.84, 18.43, -27.83)
CIE LCHlch(35.84, 33.38, 303.51)
CIE XYZxyz(10.762, 8.927, 21.921)
Decimal5917825
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Dark Slate Blue.

Questions

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