#840ede ≈ Dark Violet
#840ede is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 51.76% red, 5.49% green and 87.06% blue; printed in CMYK it uses 40.54% cyan, 93.69% magenta, 0% yellow and 12.94% black. Its hue angle is 274.04°, with 88.14% saturation and 46.27% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 6.78:1 (WCAG AA). The closest named color is Dark Violet (#9400d3), ΔE 2.99.
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.1049 |
Shades
#840ede mixed progressively with black.
Tints
#840ede mixed progressively with white.
Tones
#840ede mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-840ede {
color: #840ede;
}
.bg-840ede {
background-color: #840ede;
color: #ffffff;
}
.border-840ede {
border: 2px solid #840ede;
}
:root {
--color-primary: #840ede;
--color-primary-rgb: 132 14 222;
--color-primary-hsl: 274 88% 46%;
}
.gradient-840ede {
background: linear-gradient(135deg, #840ede, #de0ed0);
}
.shadow-840ede {
box-shadow: 0 8px 24px rgb(132 14 222 / 0.35);
}
Dark Violet
#840ede rgb(132, 14, 222) hsl(274, 88%, 46%) Dark Violet
#68de0e rgb(104, 222, 14) hsl(94, 88%, 46%) Lime Green
#de840e rgb(222, 132, 14) hsl(34, 88%, 46%) Fulvous
#0ede84 rgb(14, 222, 132) hsl(154, 88%, 46%) Emerald