#5C4181 color
The hex color #5C4181 is a desaturated violet.
In the RGB color model it is made of 36.1% red, 25.5% green and 50.6% blue (92, 65, 129).
Its hue angle is 265°, with 33% saturation and 38% lightness. For print, the CMYK equivalent is 29% cyan, 50% magenta, 0% yellow and 49% black.
The closest named color is Lords of the Night (#664488), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.31:1).
#5C4181 color codes
| HEX | #5C4181 | |
|---|---|---|
| RGB | rgb(92, 65, 129) | |
| RGB percent | rgb(36.1%, 25.5%, 50.6%) | |
| HSL | hsl(265, 33%, 38%) | |
| HSV / HSB | hsv(265, 50%, 51%) | |
| CMYK | cmyk(29%, 50%, 0%, 49%) | |
| CIE LAB | lab(33.22, 25.94, -31.95) | |
| CIE LCH | lch(33.22, 41.16, 309.07) | |
| CIE XYZ | xyz(10.265, 7.641, 21.699) | |
| Decimal | 6046081 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5C4181, 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 #5C4181 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.53:1 | Fail | Fail | Fail |
| Sample text | 8.31:1 | Pass | Pass | Pass |
| #5C4181 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.31:1 | Pass | Pass | Pass |
| Sample text | 2.53: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 #5C4181 looks to people with the most common types of color vision deficiency.
#2e4e83Protanopia
no red cones#344e7fDeuteranopia
no green cones#554c5bTritanopia
no blue cones#4e4e4eAchromatopsia
no color vision
CSS examples
.background { background-color: #5c4181; }
.text { color: #5c4181; }
.border { border: 2px solid #5c4181; }
.transparent { background-color: rgb(92 65 129 / 50%); }
.gradient { background: linear-gradient(to right, #5c4181, #7c4181); }
Similar colors
#664488Lords of the Night#5c457bIn the Vines#5b4276Drifting Violet#583580Kingfisher Daisy#604c81Sumptuous Purple#614a7bRoyal Robe#714a8bGrapes of Italy#48357bGalactic Compass
Closest common color name: Dark Slate Blue.
Questions
- What color is #5C4181?
- #5C4181 is a desaturated violet, closest to the named color Lords of the Night. It belongs to the purple family of colors.
- What is the RGB value of #5C4181?
- The RGB value is 92, 65, 129: 92 red, 65 green and 129 blue on a 0 to 255 scale.
- What is the complementary color of #5C4181?
- The complementary color is #668141, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5C4181?
- White text. Black text has a contrast ratio of 2.53:1 and white text 8.31:1. WCAG asks for at least 4.5:1 for normal text.