#5F3E72 color
The hex color #5F3E72 is a dark, desaturated violet.
In the RGB color model it is made of 37.3% red, 24.3% green and 44.7% blue (95, 62, 114).
Its hue angle is 278°, with 30% saturation and 35% lightness. For print, the CMYK equivalent is 17% cyan, 46% magenta, 0% yellow and 55% black.
The closest named color is Heartless (#623B70), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.68:1).
#5F3E72 color codes
| HEX | #5F3E72 | |
|---|---|---|
| RGB | rgb(95, 62, 114) | |
| RGB percent | rgb(37.3%, 24.3%, 44.7%) | |
| HSL | hsl(278, 30%, 35%) | |
| HSV / HSB | hsv(278, 46%, 45%) | |
| CMYK | cmyk(17%, 46%, 0%, 55%) | |
| CIE LAB | lab(32.02, 24.89, -24.45) | |
| CIE LCH | lch(32.02, 34.89, 315.51) | |
| CIE XYZ | xyz(9.479, 7.093, 16.786) | |
| Decimal | 6241906 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F3E72, 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 #5F3E72 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.42:1 | Fail | Fail | Fail |
| Sample text | 8.68:1 | Pass | Pass | Pass |
| #5F3E72 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.68:1 | Pass | Pass | Pass |
| Sample text | 2.42: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 #5F3E72 looks to people with the most common types of color vision deficiency.
#334a74Protanopia
no red cones#3c4c71Deuteranopia
no green cones#5d4652Tritanopia
no blue cones#4b4b4bAchromatopsia
no color vision
CSS examples
.background { background-color: #5f3e72; }
.text { color: #5f3e72; }
.border { border: 2px solid #5f3e72; }
.transparent { background-color: rgb(95 62 114 / 50%); }
.gradient { background: linear-gradient(to right, #5f3e72, #723e6b); }
Similar colors
#623b70Heartless#5b4276Drifting Violet#593569Purple Protégé#673e6eMajesty#5c457bIn the Vines#674876Neon Violet#5b3167Imperial Purple#614a7bRoyal Robe
Closest common color name: Byzantium.
Questions
- What color is #5F3E72?
- #5F3E72 is a dark, desaturated violet, closest to the named color Heartless. It belongs to the purple family of colors.
- What is the RGB value of #5F3E72?
- The RGB value is 95, 62, 114: 95 red, 62 green and 114 blue on a 0 to 255 scale.
- What is the complementary color of #5F3E72?
- The complementary color is #51723E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F3E72?
- White text. Black text has a contrast ratio of 2.42:1 and white text 8.68:1. WCAG asks for at least 4.5:1 for normal text.