#5e4e9b ≈ Royal Purple
#5e4e9b is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 36.86% red, 30.59% green and 60.78% blue; printed in CMYK it uses 39.35% cyan, 49.68% magenta, 0% yellow and 39.22% black. Its hue angle is 252.47°, with 33.05% saturation and 45.69% 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.91:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 5.74.
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.102 |
Shades
#5e4e9b mixed progressively with black.
Tints
#5e4e9b mixed progressively with white.
Tones
#5e4e9b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5e4e9b {
color: #5e4e9b;
}
.bg-5e4e9b {
background-color: #5e4e9b;
color: #ffffff;
}
.border-5e4e9b {
border: 2px solid #5e4e9b;
}
:root {
--color-primary: #5e4e9b;
--color-primary-rgb: 94 78 155;
--color-primary-hsl: 252 33% 46%;
}
.gradient-5e4e9b {
background: linear-gradient(135deg, #5e4e9b, #854e9b);
}
.shadow-5e4e9b {
box-shadow: 0 8px 24px rgb(94 78 155 / 0.35);
}
Royal Purple
#5e4e9b rgb(94, 78, 155) hsl(252, 33%, 46%) Royal Purple
#8b9b4e rgb(139, 155, 78) hsl(72, 33%, 46%) Moss Green
#9b5e4e rgb(155, 94, 78) hsl(12, 33%, 46%) Redwood
#4e9b5e rgb(78, 155, 94) hsl(132, 33%, 46%) Shamrock Green