#5a42ff ≈ Majorelle Blue
#5a42ff is a color from the blue family, with high lightness and strong saturation. In the RGB model it is made of 35.29% red, 25.88% green and 100% blue; printed in CMYK it uses 64.71% cyan, 74.12% magenta, 0% yellow and 0% black. Its hue angle is 247.62°, with 100% saturation and 62.94% 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 5.74:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 4.76.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6633ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1329 |
Shades
#5a42ff mixed progressively with black.
Tints
#5a42ff mixed progressively with white.
Tones
#5a42ff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5a42ff {
color: #5a42ff;
}
.bg-5a42ff {
background-color: #5a42ff;
color: #ffffff;
}
.border-5a42ff {
border: 2px solid #5a42ff;
}
:root {
--color-primary: #5a42ff;
--color-primary-rgb: 90 66 255;
--color-primary-hsl: 248 100% 63%;
}
.gradient-5a42ff {
background: linear-gradient(135deg, #5a42ff, #b942ff);
}
.shadow-5a42ff {
box-shadow: 0 8px 24px rgb(90 66 255 / 0.35);
}
Majorelle Blue
#5a42ff rgb(90, 66, 255) hsl(248, 100%, 63%) Majorelle Blue
#e7ff42 rgb(231, 255, 66) hsl(68, 100%, 63%) Lemon Lime
#ff5a42 rgb(255, 90, 66) hsl(8, 100%, 63%) Tomato
#42ff5a rgb(66, 255, 90) hsl(128, 100%, 63%) Neon Green