#4c2bec ≈ Han Purple
#4c2bec is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 29.8% red, 16.86% green and 92.55% blue; printed in CMYK it uses 67.8% cyan, 81.78% magenta, 0% yellow and 7.45% black. Its hue angle is 250.26°, with 83.55% saturation and 54.71% 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.33:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.27.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3333ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0932 |
Shades
#4c2bec mixed progressively with black.
Tints
#4c2bec mixed progressively with white.
Tones
#4c2bec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4c2bec {
color: #4c2bec;
}
.bg-4c2bec {
background-color: #4c2bec;
color: #ffffff;
}
.border-4c2bec {
border: 2px solid #4c2bec;
}
:root {
--color-primary: #4c2bec;
--color-primary-rgb: 76 43 236;
--color-primary-hsl: 250 84% 55%;
}
.gradient-4c2bec {
background: linear-gradient(135deg, #4c2bec, #ad2bec);
}
.shadow-4c2bec {
box-shadow: 0 8px 24px rgb(76 43 236 / 0.35);
}
Han Purple
#4c2bec rgb(76, 43, 236) hsl(250, 84%, 55%) Han Purple
#cbec2b rgb(203, 236, 43) hsl(70, 84%, 55%) Pear
#ec4c2b rgb(236, 76, 43) hsl(10, 84%, 55%) Ferrari Red
#2bec4c rgb(43, 236, 76) hsl(130, 84%, 55%) Malachite