#5C4A7F color
The hex color #5C4A7F is a desaturated violet.
In the RGB color model it is made of 36.1% red, 29% green and 49.8% blue (92, 74, 127).
Its hue angle is 260°, with 26% saturation and 39% lightness. For print, the CMYK equivalent is 28% cyan, 42% magenta, 0% yellow and 50% black.
The closest named color is Sumptuous Purple (#604C81), a difference of 1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.66:1).
#5C4A7F color codes
| HEX | #5C4A7F | |
|---|---|---|
| RGB | rgb(92, 74, 127) | |
| RGB percent | rgb(36.1%, 29%, 49.8%) | |
| HSL | hsl(260, 26%, 39%) | |
| HSV / HSB | hsv(260, 42%, 50%) | |
| CMYK | cmyk(28%, 42%, 0%, 50%) | |
| CIE LAB | lab(35.41, 19.77, -27.27) | |
| CIE LCH | lch(35.41, 33.68, 305.95) | |
| CIE XYZ | xyz(10.692, 8.705, 21.191) | |
| Decimal | 6048383 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5C4A7F, 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 #5C4A7F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.74:1 | Fail | Fail | Fail |
| Sample text | 7.66:1 | Pass | Pass | Pass |
| #5C4A7F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.66:1 | Pass | Pass | Pass |
| Sample text | 2.74: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 #5C4A7F looks to people with the most common types of color vision deficiency.
#3c5381Protanopia
no red cones#3f537eDeuteranopia
no green cones#55535eTritanopia
no blue cones#535353Achromatopsia
no color vision
CSS examples
.background { background-color: #5c4a7f; }
.text { color: #5c4a7f; }
.border { border: 2px solid #5c4a7f; }
.transparent { background-color: rgb(92 74 127 / 50%); }
.gradient { background: linear-gradient(to right, #5c4a7f, #764a7f); }
Similar colors
#604c81Sumptuous Purple#5c457bIn the Vines#614a7bRoyal Robe#5c5083Freshly Purpleized#5b4276Drifting Violet#664488Lords of the Night#674876Neon Violet#50507fTangent Periwinkle
Closest common color name: Dark Slate Blue.
Questions
- What color is #5C4A7F?
- #5C4A7F is a desaturated violet, closest to the named color Sumptuous Purple. It belongs to the purple family of colors.
- What is the RGB value of #5C4A7F?
- The RGB value is 92, 74, 127: 92 red, 74 green and 127 blue on a 0 to 255 scale.
- What is the complementary color of #5C4A7F?
- The complementary color is #6D7F4A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5C4A7F?
- White text. Black text has a contrast ratio of 2.74:1 and white text 7.66:1. WCAG asks for at least 4.5:1 for normal text.