#5F4C83 color
The hex color #5F4C83 is a desaturated violet.
In the RGB color model it is made of 37.3% red, 29.8% green and 51.4% blue (95, 76, 131).
Its hue angle is 261°, with 27% saturation and 41% lightness. For print, the CMYK equivalent is 27% cyan, 42% magenta, 0% yellow and 49% black.
The closest named color is Sumptuous Purple (#604C81), a difference of 0.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.37:1).
#5F4C83 color codes
| HEX | #5F4C83 | |
|---|---|---|
| RGB | rgb(95, 76, 131) | |
| RGB percent | rgb(37.3%, 29.8%, 51.4%) | |
| HSL | hsl(261, 27%, 41%) | |
| HSV / HSB | hsv(261, 42%, 51%) | |
| CMYK | cmyk(27%, 42%, 0%, 49%) | |
| CIE LAB | lab(36.44, 20.53, -28.09) | |
| CIE LCH | lch(36.44, 34.79, 306.16) | |
| CIE XYZ | xyz(11.4, 9.24, 22.651) | |
| Decimal | 6245507 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F4C83, 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 #5F4C83 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.85:1 | Fail | Fail | Fail |
| Sample text | 7.37:1 | Pass | Pass | Pass |
| #5F4C83 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.37:1 | Pass | Pass | Pass |
| Sample text | 2.85: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 #5F4C83 looks to people with the most common types of color vision deficiency.
#3d5685Protanopia
no red cones#415582Deuteranopia
no green cones#585561Tritanopia
no blue cones#565656Achromatopsia
no color vision
CSS examples
.background { background-color: #5f4c83; }
.text { color: #5f4c83; }
.border { border: 2px solid #5f4c83; }
.transparent { background-color: rgb(95 76 131 / 50%); }
.gradient { background: linear-gradient(to right, #5f4c83, #7b4c83); }
Similar colors
#604c81Sumptuous Purple#5c5083Freshly Purpleized#614a7bRoyal Robe#5c457bIn the Vines#5b4276Drifting Violet#664488Lords of the Night#655883Berry Jam#714a8bGrapes of Italy
Closest common color name: Dark Slate Blue.
Questions
- What color is #5F4C83?
- #5F4C83 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 #5F4C83?
- The RGB value is 95, 76, 131: 95 red, 76 green and 131 blue on a 0 to 255 scale.
- What is the complementary color of #5F4C83?
- The complementary color is #70834C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F4C83?
- White text. Black text has a contrast ratio of 2.85:1 and white text 7.37:1. WCAG asks for at least 4.5:1 for normal text.