#5A4A62 color

#5A4A62 rgb(90, 74, 98)
Shades of purple

The hex color #5A4A62 is a dark, grayish magenta.

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

Its hue angle is 280°, with 14% saturation and 34% lightness. For print, the CMYK equivalent is 8% cyan, 24% magenta, 0% yellow and 62% black.

The closest named color is Nightly Walk (#544563), a difference of 2.8 ΔE, a small difference.

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

#5A4A62 color codes

HEX#5A4A62
RGBrgb(90, 74, 98)
RGB percentrgb(35.3%, 29%, 38.4%)
HSLhsl(280, 14%, 34%)
HSV / HSBhsv(280, 24%, 38%)
CMYKcmyk(8%, 24%, 0%, 62%)
CIE LABlab(33.89, 11.77, -11.51)
CIE LCHlch(33.89, 16.46, 315.64)
CIE XYZxyz(8.869, 7.953, 12.621)
Decimal5917282
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #5A4A62, 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 #5A4A62RatioAAAAAAA large
Sample text2.59:1FailFailFail
Sample text8.11:1PassPassPass
#5A4A62 as text onRatioAAAAAAA large
Sample text8.11:1PassPassPass
Sample text2.59: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 #5A4A62 looks to people with the most common types of color vision deficiency.

CSS examples

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

Similar colors

Closest common color name: Eggplant.

Questions

What color is #5A4A62?
#5A4A62 is a dark, grayish magenta, closest to the named color Nightly Walk. It belongs to the purple family of colors.
What is the RGB value of #5A4A62?
The RGB value is 90, 74, 98: 90 red, 74 green and 98 blue on a 0 to 255 scale.
What is the complementary color of #5A4A62?
The complementary color is #52624A, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5A4A62?
White text. Black text has a contrast ratio of 2.59:1 and white text 8.11:1. WCAG asks for at least 4.5:1 for normal text.