#4E21E0

#4e21e0 ≈ Han Purple

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#4e21e0 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 87.84% blue; printed in CMYK it uses 65.18% cyan, 85.27% magenta, 0% yellow and 12.16% black. Its hue angle is 254.14°, with 75.49% saturation and 50.39% 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.02:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.03.

Description generated from the measured properties of this color.

Conversions of #4e21e0 into other color spaces
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 luminance0.0809

Readable text 8.02:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.62:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #505050 ≈ 0.003% of males
Achromatomaly #4f429f ≈ 0.001% of males
Protanopia #0057e5 ≈ 1.01% of males
Deuteranopia #0049dd ≈ 1.27% of males
Tritanopia #006086 ≈ 0.0001% of males
Protanomaly #0047e3 ≈ 1.08% of males
Deuteranomaly #003dde ≈ 4.63% of males
Tritanomaly #144eb1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e21e0 {
  color: #4e21e0;
}
Background
.bg-4e21e0 {
  background-color: #4e21e0;
  color: #ffffff;
}
Border
.border-4e21e0 {
  border: 2px solid #4e21e0;
}
CSS variables
:root {
  --color-primary: #4e21e0;
  --color-primary-rgb: 78 33 224;
  --color-primary-hsl: 254 75% 50%;
}
Gradient
.gradient-4e21e0 {
  background: linear-gradient(135deg, #4e21e0, #ae21e0);
}
Colored shadow
.shadow-4e21e0 {
  box-shadow: 0 8px 24px rgb(78 33 224 / 0.35);
}

Han Purple
#4e21e0  rgb(78, 33, 224)  hsl(254, 75%, 50%)  Han Purple
#b3e021  rgb(179, 224, 33)  hsl(74, 75%, 50%)  June Bud
#e04e21  rgb(224, 78, 33)  hsl(14, 75%, 50%)  Flame
#21e04e  rgb(33, 224, 78)  hsl(134, 75%, 50%)  Malachite