#5F3568 color
The hex color #5F3568 is a dark, desaturated magenta.
In the RGB color model it is made of 37.3% red, 20.8% green and 40.8% blue (95, 53, 104).
Its hue angle is 289°, with 32% saturation and 31% lightness. For print, the CMYK equivalent is 9% cyan, 49% magenta, 0% yellow and 59% black.
The closest named color is Imperial Purple (#5B3167), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.56:1).
#5F3568 color codes
| HEX | #5F3568 | |
|---|---|---|
| RGB | rgb(95, 53, 104) | |
| RGB percent | rgb(37.3%, 20.8%, 40.8%) | |
| HSL | hsl(289, 32%, 31%) | |
| HSV / HSB | hsv(289, 49%, 41%) | |
| CMYK | cmyk(9%, 49%, 0%, 59%) | |
| CIE LAB | lab(29.36, 28, -22.26) | |
| CIE LCH | lch(29.36, 35.77, 321.52) | |
| CIE XYZ | xyz(8.491, 5.979, 13.801) | |
| Decimal | 6239592 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F3568, 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 #5F3568 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.2:1 | Fail | Fail | Fail |
| Sample text | 9.56:1 | Pass | Pass | Pass |
| #5F3568 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.56:1 | Pass | Pass | Pass |
| Sample text | 2.2: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 #5F3568 looks to people with the most common types of color vision deficiency.
#2d426aProtanopia
no red cones#394767Deuteranopia
no green cones#603c49Tritanopia
no blue cones#454545Achromatopsia
no color vision
CSS examples
.background { background-color: #5f3568; }
.text { color: #5f3568; }
.border { border: 2px solid #5f3568; }
.transparent { background-color: rgb(95 53 104 / 50%); }
.gradient { background: linear-gradient(to right, #5f3568, #683558); }
Similar colors
#5b3167Imperial Purple#593569Purple Protégé#623b70Heartless#663366Wineberry#602f6bByzantine Robe#673e6eMajesty#653b66Wine Tour#5b365eLong Passionate Night
Closest common color name: Byzantium.
Questions
- What color is #5F3568?
- #5F3568 is a dark, desaturated magenta, closest to the named color Imperial Purple. It belongs to the purple family of colors.
- What is the RGB value of #5F3568?
- The RGB value is 95, 53, 104: 95 red, 53 green and 104 blue on a 0 to 255 scale.
- What is the complementary color of #5F3568?
- The complementary color is #3E6835, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F3568?
- White text. Black text has a contrast ratio of 2.2:1 and white text 9.56:1. WCAG asks for at least 4.5:1 for normal text.