#5f5d8a ≈ Royal Purple
#5f5d8a is a color from the blue family, with medium lightness and muted saturation. In the RGB model it is made of 37.25% red, 36.47% green and 54.12% blue; printed in CMYK it uses 31.16% cyan, 32.61% magenta, 0% yellow and 45.88% black. Its hue angle is 242.67°, with 19.48% saturation and 45.29% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and brand accents. White text on this color reaches a contrast ratio of 6.14:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 10.22.
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.121 |
Shades
#5f5d8a mixed progressively with black.
Tints
#5f5d8a mixed progressively with white.
Tones
#5f5d8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5f5d8a {
color: #5f5d8a;
}
.bg-5f5d8a {
background-color: #5f5d8a;
color: #ffffff;
}
.border-5f5d8a {
border: 2px solid #5f5d8a;
}
:root {
--color-primary: #5f5d8a;
--color-primary-rgb: 95 93 138;
--color-primary-hsl: 243 19% 45%;
}
.gradient-5f5d8a {
background: linear-gradient(135deg, #5f5d8a, #755d8a);
}
.shadow-5f5d8a {
box-shadow: 0 8px 24px rgb(95 93 138 / 0.35);
}
Royal Purple
#5f5d8a rgb(95, 93, 138) hsl(243, 19%, 45%) Royal Purple
#888a5d rgb(136, 138, 93) hsl(63, 19%, 45%) Moss Green
#8a5f5d rgb(138, 95, 93) hsl(3, 19%, 45%) Copper Rose
#5d8a5f rgb(93, 138, 95) hsl(123, 19%, 45%) Sea Green