#5F3D72 color
The hex color #5F3D72 is a dark, desaturated violet.
In the RGB color model it is made of 37.3% red, 23.9% green and 44.7% blue (95, 61, 114).
Its hue angle is 278°, with 30% saturation and 34% 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.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.76:1).
#5F3D72 color codes
| HEX | #5F3D72 | |
|---|---|---|
| RGB | rgb(95, 61, 114) | |
| RGB percent | rgb(37.3%, 23.9%, 44.7%) | |
| HSL | hsl(278, 30%, 34%) | |
| HSV / HSB | hsv(278, 46%, 45%) | |
| CMYK | cmyk(17%, 46%, 0%, 55%) | |
| CIE LAB | lab(31.77, 25.51, -24.83) | |
| CIE LCH | lch(31.77, 35.6, 315.76) | |
| CIE XYZ | xyz(9.425, 6.985, 16.768) | |
| Decimal | 6241650 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F3D72, 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 #5F3D72 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.4:1 | Fail | Fail | Fail |
| Sample text | 8.76:1 | Pass | Pass | Pass |
| #5F3D72 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.76:1 | Pass | Pass | Pass |
| Sample text | 2.4: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 #5F3D72 looks to people with the most common types of color vision deficiency.
#324974Protanopia
no red cones#3b4c71Deuteranopia
no green cones#5d4552Tritanopia
no blue cones#4b4b4bAchromatopsia
no color vision
CSS examples
.background { background-color: #5f3d72; }
.text { color: #5f3d72; }
.border { border: 2px solid #5f3d72; }
.transparent { background-color: rgb(95 61 114 / 50%); }
.gradient { background: linear-gradient(to right, #5f3d72, #723d6b); }
Similar colors
#623b70Heartless#5b4276Drifting Violet#593569Purple Protégé#673e6eMajesty#5c457bIn the Vines#5b3167Imperial Purple#674876Neon Violet#6e3974Eminence
Closest common color name: Byzantium.
Questions
- What color is #5F3D72?
- #5F3D72 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 #5F3D72?
- The RGB value is 95, 61, 114: 95 red, 61 green and 114 blue on a 0 to 255 scale.
- What is the complementary color of #5F3D72?
- The complementary color is #50723D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F3D72?
- White text. Black text has a contrast ratio of 2.4:1 and white text 8.76:1. WCAG asks for at least 4.5:1 for normal text.