#5f599b ≈ Royal Purple
#5f599b is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 37.25% red, 34.9% green and 60.78% blue; printed in CMYK it uses 38.71% cyan, 42.58% magenta, 0% yellow and 39.22% black. Its hue angle is 245.45°, with 27.05% saturation and 47.84% 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.2:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 7.15.
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.1194 |
Shades
#5f599b mixed progressively with black.
Tints
#5f599b mixed progressively with white.
Tones
#5f599b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5f599b {
color: #5f599b;
}
.bg-5f599b {
background-color: #5f599b;
color: #ffffff;
}
.border-5f599b {
border: 2px solid #5f599b;
}
:root {
--color-primary: #5f599b;
--color-primary-rgb: 95 89 155;
--color-primary-hsl: 245 27% 48%;
}
.gradient-5f599b {
background: linear-gradient(135deg, #5f599b, #80599b);
}
.shadow-5f599b {
box-shadow: 0 8px 24px rgb(95 89 155 / 0.35);
}
Royal Purple
#5f599b rgb(95, 89, 155) hsl(245, 27%, 48%) Royal Purple
#959b59 rgb(149, 155, 89) hsl(65, 27%, 48%) Moss Green
#9b5f59 rgb(155, 95, 89) hsl(5, 27%, 48%) Redwood
#599b5f rgb(89, 155, 95) hsl(125, 27%, 48%) Shamrock Green