#870bcc ≈ Dark Violet
#870bcc is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 52.94% red, 4.31% green and 80% blue; printed in CMYK it uses 33.82% cyan, 94.61% magenta, 0% yellow and 20% black. Its hue angle is 278.55°, with 89.77% saturation and 42.16% 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 7.12:1 (WCAG AAA). The closest named color is Dark Violet (#9400d3), ΔE 2.23.
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.0975 |
Shades
#870bcc mixed progressively with black.
Tints
#870bcc mixed progressively with white.
Tones
#870bcc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-870bcc {
color: #870bcc;
}
.bg-870bcc {
background-color: #870bcc;
color: #ffffff;
}
.border-870bcc {
border: 2px solid #870bcc;
}
:root {
--color-primary: #870bcc;
--color-primary-rgb: 135 11 204;
--color-primary-hsl: 279 90% 42%;
}
.gradient-870bcc {
background: linear-gradient(135deg, #870bcc, #cc0bb1);
}
.shadow-870bcc {
box-shadow: 0 8px 24px rgb(135 11 204 / 0.35);
}
Dark Violet
#870bcc rgb(135, 11, 204) hsl(279, 90%, 42%) Dark Violet
#50cc0b rgb(80, 204, 11) hsl(99, 90%, 42%) Lime Green
#cc870b rgb(204, 135, 11) hsl(39, 90%, 42%) Dark Goldenrod
#0bcc87 rgb(11, 204, 135) hsl(159, 90%, 42%) Caribbean Green