#5f528d ≈ Royal Purple
#5f528d is a color from the violet family, with medium lightness and muted saturation. In the RGB model it is made of 37.25% red, 32.16% green and 55.29% blue; printed in CMYK it uses 32.62% cyan, 41.84% magenta, 0% yellow and 44.71% black. Its hue angle is 253.22°, with 26.46% saturation and 43.73% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 6.82:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 7.24.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #666699 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1039 |
Shades
#5f528d mixed progressively with black.
Tints
#5f528d mixed progressively with white.
Tones
#5f528d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5f528d {
color: #5f528d;
}
.bg-5f528d {
background-color: #5f528d;
color: #ffffff;
}
.border-5f528d {
border: 2px solid #5f528d;
}
:root {
--color-primary: #5f528d;
--color-primary-rgb: 95 82 141;
--color-primary-hsl: 253 26% 44%;
}
.gradient-5f528d {
background: linear-gradient(135deg, #5f528d, #7d528d);
}
.shadow-5f528d {
box-shadow: 0 8px 24px rgb(95 82 141 / 0.35);
}
Royal Purple
#5f528d rgb(95, 82, 141) hsl(253, 26%, 44%) Royal Purple
#808d52 rgb(128, 141, 82) hsl(73, 26%, 44%) Moss Green
#8d5f52 rgb(141, 95, 82) hsl(13, 26%, 44%) Redwood
#528d5f rgb(82, 141, 95) hsl(133, 26%, 44%) Sea Green