#4e21c8 ≈ Medium Blue
#4e21c8 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 30.59% red, 12.94% green and 78.43% blue; printed in CMYK it uses 61% cyan, 83.5% magenta, 0% yellow and 21.57% black. Its hue angle is 256.17°, with 71.67% saturation and 45.69% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 8.84:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 5.92.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6633cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0688 |
Shades
#4e21c8 mixed progressively with black.
Tints
#4e21c8 mixed progressively with white.
Tones
#4e21c8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4e21c8 {
color: #4e21c8;
}
.bg-4e21c8 {
background-color: #4e21c8;
color: #ffffff;
}
.border-4e21c8 {
border: 2px solid #4e21c8;
}
:root {
--color-primary: #4e21c8;
--color-primary-rgb: 78 33 200;
--color-primary-hsl: 256 72% 46%;
}
.gradient-4e21c8 {
background: linear-gradient(135deg, #4e21c8, #a221c8);
}
.shadow-4e21c8 {
box-shadow: 0 8px 24px rgb(78 33 200 / 0.35);
}
Medium Blue
#4e21c8 rgb(78, 33, 200) hsl(256, 72%, 46%) Medium Blue
#9bc821 rgb(155, 200, 33) hsl(76, 72%, 46%) Yellow Green
#c84e21 rgb(200, 78, 33) hsl(16, 72%, 46%) Sinopia
#21c84e rgb(33, 200, 78) hsl(136, 72%, 46%) Lime Green