#312ffe ≈ Han Purple
#312ffe is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 19.22% red, 18.43% green and 99.61% blue; printed in CMYK it uses 80.71% cyan, 81.5% magenta, 0% yellow and 0.39% black. Its hue angle is 240.58°, with 99.04% saturation and 59.02% 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.07:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.45.
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.0984 |
Shades
#312ffe mixed progressively with black.
Tints
#312ffe mixed progressively with white.
Tones
#312ffe mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-312ffe {
color: #312ffe;
}
.bg-312ffe {
background-color: #312ffe;
color: #ffffff;
}
.border-312ffe {
border: 2px solid #312ffe;
}
:root {
--color-primary: #312ffe;
--color-primary-rgb: 49 47 254;
--color-primary-hsl: 241 99% 59%;
}
.gradient-312ffe {
background: linear-gradient(135deg, #312ffe, #992ffe);
}
.shadow-312ffe {
box-shadow: 0 8px 24px rgb(49 47 254 / 0.35);
}
Han Purple
#312ffe rgb(49, 47, 254) hsl(241, 99%, 59%) Han Purple
#fcfe2f rgb(252, 254, 47) hsl(61, 99%, 59%) Daffodil
#fe312f rgb(254, 49, 47) hsl(1, 99%, 59%) Tractor Red
#2ffe31 rgb(47, 254, 49) hsl(121, 99%, 59%) Neon Green