#5a408d ≈ Dark Slate Blue
#5a408d is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 35.29% red, 25.1% green and 55.29% blue; printed in CMYK it uses 36.17% cyan, 54.61% magenta, 0% yellow and 44.71% black. Its hue angle is 260.26°, with 37.56% saturation and 40.2% 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 8.23:1 (WCAG AAA). The closest named color is Dark Slate Blue (#483d8b), ΔE 3.87.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #663399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0776 |
Shades
#5a408d mixed progressively with black.
Tints
#5a408d mixed progressively with white.
Tones
#5a408d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5a408d {
color: #5a408d;
}
.bg-5a408d {
background-color: #5a408d;
color: #ffffff;
}
.border-5a408d {
border: 2px solid #5a408d;
}
:root {
--color-primary: #5a408d;
--color-primary-rgb: 90 64 141;
--color-primary-hsl: 260 38% 40%;
}
.gradient-5a408d {
background: linear-gradient(135deg, #5a408d, #81408d);
}
.shadow-5a408d {
box-shadow: 0 8px 24px rgb(90 64 141 / 0.35);
}
Dark Slate Blue
#5a408d rgb(90, 64, 141) hsl(260, 38%, 40%) Dark Slate Blue
#738d40 rgb(115, 141, 64) hsl(80, 38%, 40%) Olive Drab
#8d5a40 rgb(141, 90, 64) hsl(20, 38%, 40%) Sienna
#408d5a rgb(64, 141, 90) hsl(140, 38%, 40%) Sea Green