#642ddd ≈ Han Purple
#642ddd is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 39.22% red, 17.65% green and 86.67% blue; printed in CMYK it uses 54.75% cyan, 79.64% magenta, 0% yellow and 13.33% black. Its hue angle is 258.75°, with 72.13% saturation and 52.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 brand accents. White text on this color reaches a contrast ratio of 7.09:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.81.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6633cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0981 |
Shades
#642ddd mixed progressively with black.
Tints
#642ddd mixed progressively with white.
Tones
#642ddd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-642ddd {
color: #642ddd;
}
.bg-642ddd {
background-color: #642ddd;
color: #ffffff;
}
.border-642ddd {
border: 2px solid #642ddd;
}
:root {
--color-primary: #642ddd;
--color-primary-rgb: 100 45 221;
--color-primary-hsl: 259 72% 52%;
}
.gradient-642ddd {
background: linear-gradient(135deg, #642ddd, #bc2ddd);
}
.shadow-642ddd {
box-shadow: 0 8px 24px rgb(100 45 221 / 0.35);
}
Han Purple
#642ddd rgb(100, 45, 221) hsl(259, 72%, 52%) Han Purple
#a6dd2d rgb(166, 221, 45) hsl(79, 72%, 52%) Yellow Green
#dd642d rgb(221, 100, 45) hsl(19, 72%, 52%) Flame
#2ddd64 rgb(45, 221, 100) hsl(139, 72%, 52%) Malachite