#5f5090 ≈ Royal Purple
#5f5090 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 37.25% red, 31.37% green and 56.47% blue; printed in CMYK it uses 34.03% cyan, 44.44% magenta, 0% yellow and 43.53% black. Its hue angle is 254.06°, with 28.57% saturation and 43.92% 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.92:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 6.58.
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.1018 |
Shades
#5f5090 mixed progressively with black.
Tints
#5f5090 mixed progressively with white.
Tones
#5f5090 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5f5090 {
color: #5f5090;
}
.bg-5f5090 {
background-color: #5f5090;
color: #ffffff;
}
.border-5f5090 {
border: 2px solid #5f5090;
}
:root {
--color-primary: #5f5090;
--color-primary-rgb: 95 80 144;
--color-primary-hsl: 254 29% 44%;
}
.gradient-5f5090 {
background: linear-gradient(135deg, #5f5090, #7f5090);
}
.shadow-5f5090 {
box-shadow: 0 8px 24px rgb(95 80 144 / 0.35);
}
Royal Purple
#5f5090 rgb(95, 80, 144) hsl(254, 29%, 44%) Royal Purple
#819050 rgb(129, 144, 80) hsl(74, 29%, 44%) Moss Green
#905f50 rgb(144, 95, 80) hsl(14, 29%, 44%) Redwood
#50905f rgb(80, 144, 95) hsl(134, 29%, 44%) Sea Green