#5f4e7b ≈ Dark Slate Blue
#5f4e7b is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 37.25% red, 30.59% green and 48.24% blue; printed in CMYK it uses 22.76% cyan, 36.59% magenta, 0% yellow and 51.76% black. Its hue angle is 262.67°, with 22.39% saturation and 39.41% 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 7.34:1 (WCAG AAA). The closest named color is Dark Slate Blue (#483d8b), ΔE 9.72.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #666666 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0931 |
Shades
#5f4e7b mixed progressively with black.
Tints
#5f4e7b mixed progressively with white.
Tones
#5f4e7b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5f4e7b {
color: #5f4e7b;
}
.bg-5f4e7b {
background-color: #5f4e7b;
color: #ffffff;
}
.border-5f4e7b {
border: 2px solid #5f4e7b;
}
:root {
--color-primary: #5f4e7b;
--color-primary-rgb: 95 78 123;
--color-primary-hsl: 263 22% 39%;
}
.gradient-5f4e7b {
background: linear-gradient(135deg, #5f4e7b, #754e7b);
}
.shadow-5f4e7b {
box-shadow: 0 8px 24px rgb(95 78 123 / 0.35);
}
Dark Slate Blue
#5f4e7b rgb(95, 78, 123) hsl(263, 22%, 39%) Dark Slate Blue
#6a7b4e rgb(106, 123, 78) hsl(83, 22%, 39%) Fern Green
#7b5f4e rgb(123, 95, 78) hsl(23, 22%, 39%) Coffee
#4e7b5f rgb(78, 123, 95) hsl(143, 22%, 39%) Viridian