#2f31ff ≈ Han Purple
#2f31ff is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 18.43% red, 19.22% green and 100% blue; printed in CMYK it uses 81.57% cyan, 80.78% magenta, 0% yellow and 0% black. Its hue angle is 239.42°, with 100% saturation and 59.22% 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 6.99:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 3.79.
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.1002 |
Shades
#2f31ff mixed progressively with black.
Tints
#2f31ff mixed progressively with white.
Tones
#2f31ff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2f31ff {
color: #2f31ff;
}
.bg-2f31ff {
background-color: #2f31ff;
color: #ffffff;
}
.border-2f31ff {
border: 2px solid #2f31ff;
}
:root {
--color-primary: #2f31ff;
--color-primary-rgb: 47 49 255;
--color-primary-hsl: 239 100% 59%;
}
.gradient-2f31ff {
background: linear-gradient(135deg, #2f31ff, #952fff);
}
.shadow-2f31ff {
box-shadow: 0 8px 24px rgb(47 49 255 / 0.35);
}
Han Purple
#2f31ff rgb(47, 49, 255) hsl(239, 100%, 59%) Han Purple
#fffd2f rgb(255, 253, 47) hsl(59, 100%, 59%) Daffodil
#ff2f31 rgb(255, 47, 49) hsl(359, 100%, 59%) Tractor Red
#31ff2f rgb(49, 255, 47) hsl(119, 100%, 59%) Neon Green