#840bba ≈ Dark Violet
#840bba is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 51.76% red, 4.31% green and 72.94% blue; printed in CMYK it uses 29.03% cyan, 94.09% magenta, 0% yellow and 27.06% black. Its hue angle is 281.49°, with 88.83% saturation and 38.63% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. White text on this color reaches a contrast ratio of 7.67:1 (WCAG AAA). The closest named color is Dark Violet (#9400d3), ΔE 4.12.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #9900cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0869 |
Shades
#840bba mixed progressively with black.
Tints
#840bba mixed progressively with white.
Tones
#840bba mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-840bba {
color: #840bba;
}
.bg-840bba {
background-color: #840bba;
color: #ffffff;
}
.border-840bba {
border: 2px solid #840bba;
}
:root {
--color-primary: #840bba;
--color-primary-rgb: 132 11 186;
--color-primary-hsl: 281 89% 39%;
}
.gradient-840bba {
background: linear-gradient(135deg, #840bba, #ba0b98);
}
.shadow-840bba {
box-shadow: 0 8px 24px rgb(132 11 186 / 0.35);
}
Dark Violet
#840bba rgb(132, 11, 186) hsl(281, 89%, 39%) Dark Violet
#41ba0b rgb(65, 186, 11) hsl(101, 89%, 39%) Kelly Green
#ba840b rgb(186, 132, 11) hsl(41, 89%, 39%) Dark Goldenrod
#0bba84 rgb(11, 186, 132) hsl(161, 89%, 39%) Mint