#5f4ea2 ≈ Royal Purple
#5f4ea2 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 37.25% red, 30.59% green and 63.53% blue; printed in CMYK it uses 41.36% cyan, 51.85% magenta, 0% yellow and 36.47% black. Its hue angle is 252.14°, with 35% saturation and 47.06% 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.78:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 5.39.
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.1049 |
Shades
#5f4ea2 mixed progressively with black.
Tints
#5f4ea2 mixed progressively with white.
Tones
#5f4ea2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5f4ea2 {
color: #5f4ea2;
}
.bg-5f4ea2 {
background-color: #5f4ea2;
color: #ffffff;
}
.border-5f4ea2 {
border: 2px solid #5f4ea2;
}
:root {
--color-primary: #5f4ea2;
--color-primary-rgb: 95 78 162;
--color-primary-hsl: 252 35% 47%;
}
.gradient-5f4ea2 {
background: linear-gradient(135deg, #5f4ea2, #894ea2);
}
.shadow-5f4ea2 {
box-shadow: 0 8px 24px rgb(95 78 162 / 0.35);
}
Royal Purple
#5f4ea2 rgb(95, 78, 162) hsl(252, 35%, 47%) Royal Purple
#91a24e rgb(145, 162, 78) hsl(72, 35%, 47%) Moss Green
#a25f4e rgb(162, 95, 78) hsl(12, 35%, 47%) Redwood
#4ea25f rgb(78, 162, 95) hsl(132, 35%, 47%) Shamrock Green