#342fed ≈ Han Purple
#342fed is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 20.39% red, 18.43% green and 92.94% blue; printed in CMYK it uses 78.06% cyan, 80.17% magenta, 0% yellow and 7.06% black. Its hue angle is 241.58°, with 84.07% saturation and 55.69% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and call-to-action buttons. White text on this color reaches a contrast ratio of 7.57:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.71.
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.0888 |
Shades
#342fed mixed progressively with black.
Tints
#342fed mixed progressively with white.
Tones
#342fed mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-342fed {
color: #342fed;
}
.bg-342fed {
background-color: #342fed;
color: #ffffff;
}
.border-342fed {
border: 2px solid #342fed;
}
:root {
--color-primary: #342fed;
--color-primary-rgb: 52 47 237;
--color-primary-hsl: 242 84% 56%;
}
.gradient-342fed {
background: linear-gradient(135deg, #342fed, #932fed);
}
.shadow-342fed {
box-shadow: 0 8px 24px rgb(52 47 237 / 0.35);
}
Han Purple
#342fed rgb(52, 47, 237) hsl(242, 84%, 56%) Han Purple
#e8ed2f rgb(232, 237, 47) hsl(62, 84%, 56%) Titanium Yellow
#ed342f rgb(237, 52, 47) hsl(2, 84%, 56%) Cinnabar
#2fed34 rgb(47, 237, 52) hsl(122, 84%, 56%) Lime