#640cdc ≈ Han Purple
#640cdc is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 39.22% red, 4.71% green and 86.27% blue; printed in CMYK it uses 54.55% cyan, 94.55% magenta, 0% yellow and 13.73% black. Its hue angle is 265.38°, with 89.66% saturation and 45.49% 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.99:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.99.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6600cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0814 |
Shades
#640cdc mixed progressively with black.
Tints
#640cdc mixed progressively with white.
Tones
#640cdc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-640cdc {
color: #640cdc;
}
.bg-640cdc {
background-color: #640cdc;
color: #ffffff;
}
.border-640cdc {
border: 2px solid #640cdc;
}
:root {
--color-primary: #640cdc;
--color-primary-rgb: 100 12 220;
--color-primary-hsl: 265 90% 45%;
}
.gradient-640cdc {
background: linear-gradient(135deg, #640cdc, #cc0cdc);
}
.shadow-640cdc {
box-shadow: 0 8px 24px rgb(100 12 220 / 0.35);
}
Han Purple
#640cdc rgb(100, 12, 220) hsl(265, 90%, 45%) Han Purple
#84dc0c rgb(132, 220, 12) hsl(85, 90%, 45%) Yellow Green
#dc640c rgb(220, 100, 12) hsl(25, 90%, 45%) Chocolate
#0cdc64 rgb(12, 220, 100) hsl(145, 90%, 45%) Malachite