#5A5377 color
The hex color #5A5377 is a grayish violet.
In the RGB color model it is made of 35.3% red, 32.5% green and 46.7% blue (90, 83, 119).
Its hue angle is 252°, with 18% saturation and 40% lightness. For print, the CMYK equivalent is 24% cyan, 30% magenta, 0% yellow and 53% black.
The closest named color is Berry Jam (#655883), a difference of 3.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.15:1).
#5A5377 color codes
| HEX | #5A5377 | |
|---|---|---|
| RGB | rgb(90, 83, 119) | |
| RGB percent | rgb(35.3%, 32.5%, 46.7%) | |
| HSL | hsl(252, 18%, 40%) | |
| HSV / HSB | hsv(252, 30%, 47%) | |
| CMYK | cmyk(24%, 30%, 0%, 53%) | |
| CIE LAB | lab(37.28, 11.29, -19.42) | |
| CIE LCH | lch(37.28, 22.46, 300.18) | |
| CIE XYZ | xyz(10.639, 9.692, 18.759) | |
| Decimal | 5919607 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A5377, 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 #5A5377 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.94:1 | Fail | Fail | Fail |
| Sample text | 7.15:1 | Pass | Pass | Pass |
| #5A5377 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.15:1 | Pass | Pass | Pass |
| Sample text | 2.94:1 | Fail | Fail | Fail |
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 #5A5377 looks to people with the most common types of color vision deficiency.
#4a5879Protanopia
no red cones#4b5776Deuteranopia
no green cones#545960Tritanopia
no blue cones#585858Achromatopsia
no color vision
CSS examples
.background { background-color: #5a5377; }
.text { color: #5a5377; }
.border { border: 2px solid #5a5377; }
.transparent { background-color: rgb(90 83 119 / 50%); }
.gradient { background: linear-gradient(to right, #5a5377, #6c5377); }
Similar colors
#655883Berry Jam#555570Majestic Magic#5c5083Freshly Purpleized#50507fTangent Periwinkle#675a75Plummy#4e5481Dusk#604c81Sumptuous Purple#614a7bRoyal Robe
Closest common color name: Dark Slate Blue.
Questions
- What color is #5A5377?
- #5A5377 is a grayish violet, closest to the named color Berry Jam. It belongs to the blue family of colors.
- What is the RGB value of #5A5377?
- The RGB value is 90, 83, 119: 90 red, 83 green and 119 blue on a 0 to 255 scale.
- What is the complementary color of #5A5377?
- The complementary color is #707753, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A5377?
- White text. Black text has a contrast ratio of 2.94:1 and white text 7.15:1. WCAG asks for at least 4.5:1 for normal text.