#5C507F color
The hex color #5C507F is a grayish violet.
In the RGB color model it is made of 36.1% red, 31.4% green and 49.8% blue (92, 80, 127).
Its hue angle is 255°, with 23% saturation and 41% lightness. For print, the CMYK equivalent is 28% cyan, 37% magenta, 0% yellow and 50% black.
The closest named color is Freshly Purpleized (#5C5083), a difference of 1.1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.22:1).
#5C507F color codes
| HEX | #5C507F | |
|---|---|---|
| RGB | rgb(92, 80, 127) | |
| RGB percent | rgb(36.1%, 31.4%, 49.8%) | |
| HSL | hsl(255, 23%, 41%) | |
| HSV / HSB | hsv(255, 37%, 50%) | |
| CMYK | cmyk(28%, 37%, 0%, 50%) | |
| CIE LAB | lab(37.01, 15.98, -24.76) | |
| CIE LCH | lch(37.01, 29.47, 302.85) | |
| CIE XYZ | xyz(11.112, 9.545, 21.331) | |
| Decimal | 6049919 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5C507F, 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 #5C507F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.91:1 | Fail | Fail | Fail |
| Sample text | 7.22:1 | Pass | Pass | Pass |
| #5C507F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.22:1 | Pass | Pass | Pass |
| Sample text | 2.91: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 #5C507F looks to people with the most common types of color vision deficiency.
#445781Protanopia
no red cones#45567eDeuteranopia
no green cones#555861Tritanopia
no blue cones#575757Achromatopsia
no color vision
CSS examples
.background { background-color: #5c507f; }
.text { color: #5c507f; }
.border { border: 2px solid #5c507f; }
.transparent { background-color: rgb(92 80 127 / 50%); }
.gradient { background: linear-gradient(to right, #5c507f, #74507f); }
Similar colors
#5c5083Freshly Purpleized#604c81Sumptuous Purple#655883Berry Jam#614a7bRoyal Robe#50507fTangent Periwinkle#5c457bIn the Vines#5b4276Drifting Violet#4e5481Dusk
Closest common color name: Dark Slate Blue.
Questions
- What color is #5C507F?
- #5C507F is a grayish violet, closest to the named color Freshly Purpleized. It belongs to the purple family of colors.
- What is the RGB value of #5C507F?
- The RGB value is 92, 80, 127: 92 red, 80 green and 127 blue on a 0 to 255 scale.
- What is the complementary color of #5C507F?
- The complementary color is #737F50, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5C507F?
- White text. Black text has a contrast ratio of 2.91:1 and white text 7.22:1. WCAG asks for at least 4.5:1 for normal text.