#4e20ba ≈ Medium Blue
#4e20ba 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.55% green and 72.94% blue; printed in CMYK it uses 58.06% cyan, 82.8% magenta, 0% yellow and 27.06% black. Its hue angle is 257.92°, with 70.64% saturation and 42.75% 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 9.38:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 5.88.
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.062 |
Shades
#4e20ba mixed progressively with black.
Tints
#4e20ba mixed progressively with white.
Tones
#4e20ba mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4e20ba {
color: #4e20ba;
}
.bg-4e20ba {
background-color: #4e20ba;
color: #ffffff;
}
.border-4e20ba {
border: 2px solid #4e20ba;
}
:root {
--color-primary: #4e20ba;
--color-primary-rgb: 78 32 186;
--color-primary-hsl: 258 71% 43%;
}
.gradient-4e20ba {
background: linear-gradient(135deg, #4e20ba, #9b20ba);
}
.shadow-4e20ba {
box-shadow: 0 8px 24px rgb(78 32 186 / 0.35);
}
Medium Blue
#4e20ba rgb(78, 32, 186) hsl(258, 71%, 43%) Medium Blue
#8cba20 rgb(140, 186, 32) hsl(78, 71%, 43%) Apple Green
#ba4e20 rgb(186, 78, 32) hsl(18, 71%, 43%) Rust
#20ba4e rgb(32, 186, 78) hsl(138, 71%, 43%) Emerald