#4E20EA

#4e20ea ≈ Han Purple

  • violet
  • Lightness: medium
  • Saturation: vivid
  • Cool

#4e20ea is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 30.59% red, 12.55% green and 91.76% blue; printed in CMYK it uses 66.67% cyan, 86.32% magenta, 0% yellow and 8.24% black. Its hue angle is 253.66°, with 82.79% saturation and 52.16% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 7.72:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.88.

Description generated from the measured properties of this color.

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

Readable text 7.72:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.72:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #5144a6 ≈ 0.001% of males
Protanopia #005aef ≈ 1.01% of males
Deuteranopia #004be7 ≈ 1.27% of males
Tritanopia #00658c ≈ 0.0001% of males
Protanomaly #0049ed ≈ 1.08% of males
Deuteranomaly #003ee8 ≈ 4.63% of males
Tritanomaly #0051b9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e20ea {
  color: #4e20ea;
}
Background
.bg-4e20ea {
  background-color: #4e20ea;
  color: #ffffff;
}
Border
.border-4e20ea {
  border: 2px solid #4e20ea;
}
CSS variables
:root {
  --color-primary: #4e20ea;
  --color-primary-rgb: 78 32 234;
  --color-primary-hsl: 254 83% 52%;
}
Gradient
.gradient-4e20ea {
  background: linear-gradient(135deg, #4e20ea, #b320ea);
}
Colored shadow
.shadow-4e20ea {
  box-shadow: 0 8px 24px rgb(78 32 234 / 0.35);
}

Han Purple
#4e20ea  rgb(78, 32, 234)  hsl(254, 83%, 52%)  Han Purple
#bcea20  rgb(188, 234, 32)  hsl(74, 83%, 52%)  Electric Lime
#ea4e20  rgb(234, 78, 32)  hsl(14, 83%, 52%)  Flame
#20ea4e  rgb(32, 234, 78)  hsl(134, 83%, 52%)  Malachite