#5F274D color
The hex color #5F274D is a dark, desaturated magenta.
In the RGB color model it is made of 37.3% red, 15.3% green and 30.2% blue (95, 39, 77).
Its hue angle is 319°, with 42% saturation and 26% lightness. For print, the CMYK equivalent is 0% cyan, 59% magenta, 19% yellow and 63% black.
The closest named color is Pretty in Prune (#6B295A), a difference of 3.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.15:1).
#5F274D color codes
| HEX | #5F274D | |
|---|---|---|
| RGB | rgb(95, 39, 77) | |
| RGB percent | rgb(37.3%, 15.3%, 30.2%) | |
| HSL | hsl(319, 42%, 26%) | |
| HSV / HSB | hsv(319, 59%, 37%) | |
| CMYK | cmyk(0%, 59%, 19%, 63%) | |
| CIE LAB | lab(25.01, 30.62, -11.33) | |
| CIE LCH | lch(25.01, 32.65, 339.7) | |
| CIE XYZ | xyz(6.785, 4.42, 7.516) | |
| Decimal | 6235981 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F274D, 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 #5F274D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.88:1 | Fail | Fail | Fail |
| Sample text | 11.15:1 | Pass | Pass | Pass |
| #5F274D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.15:1 | Pass | Pass | Pass |
| Sample text | 1.88: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 #5F274D looks to people with the most common types of color vision deficiency.
#2a364eProtanopia
no red cones#3a3f4cDeuteranopia
no green cones#652836Tritanopia
no blue cones#3b3b3bAchromatopsia
no color vision
CSS examples
.background { background-color: #5f274d; }
.text { color: #5f274d; }
.border { border: 2px solid #5f274d; }
.transparent { background-color: rgb(95 39 77 / 50%); }
.gradient { background: linear-gradient(to right, #5f274d, #5f2731); }
Similar colors
#6b295aPretty in Prune#4f284bMurasaki#673362Opulent Purple#543254Purple Prose#702963Byzantium#5c1c39Soul Anchor#5b365eLong Passionate Night#663366Wineberry
Questions
- What color is #5F274D?
- #5F274D is a dark, desaturated magenta, closest to the named color Pretty in Prune. It belongs to the purple family of colors.
- What is the RGB value of #5F274D?
- The RGB value is 95, 39, 77: 95 red, 39 green and 77 blue on a 0 to 255 scale.
- What is the complementary color of #5F274D?
- The complementary color is #275F39, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F274D?
- White text. Black text has a contrast ratio of 1.88:1 and white text 11.15:1. WCAG asks for at least 4.5:1 for normal text.