#5e5097 ≈ Royal Purple
#5e5097 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 36.86% red, 31.37% green and 59.22% blue; printed in CMYK it uses 37.75% cyan, 47.02% magenta, 0% yellow and 40.78% black. Its hue angle is 251.83°, with 30.74% saturation and 45.29% 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.84:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 6.09.
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.1035 |
Shades
#5e5097 mixed progressively with black.
Tints
#5e5097 mixed progressively with white.
Tones
#5e5097 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5e5097 {
color: #5e5097;
}
.bg-5e5097 {
background-color: #5e5097;
color: #ffffff;
}
.border-5e5097 {
border: 2px solid #5e5097;
}
:root {
--color-primary: #5e5097;
--color-primary-rgb: 94 80 151;
--color-primary-hsl: 252 31% 45%;
}
.gradient-5e5097 {
background: linear-gradient(135deg, #5e5097, #815097);
}
.shadow-5e5097 {
box-shadow: 0 8px 24px rgb(94 80 151 / 0.35);
}
Royal Purple
#5e5097 rgb(94, 80, 151) hsl(252, 31%, 45%) Royal Purple
#899750 rgb(137, 151, 80) hsl(72, 31%, 45%) Moss Green
#975e50 rgb(151, 94, 80) hsl(12, 31%, 45%) Redwood
#50975e rgb(80, 151, 94) hsl(132, 31%, 45%) Shamrock Green