#342aed ≈ Han Purple
#342aed is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 20.39% red, 16.47% green and 92.94% blue; printed in CMYK it uses 78.06% cyan, 82.28% magenta, 0% yellow and 7.06% black. Its hue angle is 243.08°, with 84.42% saturation and 54.71% 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.78:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.33.
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.085 |
Shades
#342aed mixed progressively with black.
Tints
#342aed mixed progressively with white.
Tones
#342aed mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-342aed {
color: #342aed;
}
.bg-342aed {
background-color: #342aed;
color: #ffffff;
}
.border-342aed {
border: 2px solid #342aed;
}
:root {
--color-primary: #342aed;
--color-primary-rgb: 52 42 237;
--color-primary-hsl: 243 84% 55%;
}
.gradient-342aed {
background: linear-gradient(135deg, #342aed, #962aed);
}
.shadow-342aed {
box-shadow: 0 8px 24px rgb(52 42 237 / 0.35);
}
Han Purple
#342aed rgb(52, 42, 237) hsl(243, 84%, 55%) Han Purple
#e3ed2a rgb(227, 237, 42) hsl(63, 84%, 55%) Pear
#ed342a rgb(237, 52, 42) hsl(3, 84%, 55%) Cinnabar
#2aed34 rgb(42, 237, 52) hsl(123, 84%, 55%) Lime