#4E21EB

#4e21eb ≈ Han Purple

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

#4e21eb 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.94% green and 92.16% blue; printed in CMYK it uses 66.81% cyan, 85.96% magenta, 0% yellow and 7.84% black. Its hue angle is 253.37°, with 83.47% saturation and 52.55% 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.66:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.77.

Description generated from the measured properties of this color.

Conversions of #4e21eb 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.0871

Readable text 7.66:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.74:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #5144a7 ≈ 0.001% of males
Protanopia #005af0 ≈ 1.01% of males
Deuteranopia #004be8 ≈ 1.27% of males
Tritanopia #00658c ≈ 0.0001% of males
Protanomaly #004aee ≈ 1.08% of males
Deuteranomaly #003ee9 ≈ 4.63% of males
Tritanomaly #0052ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e21eb {
  color: #4e21eb;
}
Background
.bg-4e21eb {
  background-color: #4e21eb;
  color: #ffffff;
}
Border
.border-4e21eb {
  border: 2px solid #4e21eb;
}
CSS variables
:root {
  --color-primary: #4e21eb;
  --color-primary-rgb: 78 33 235;
  --color-primary-hsl: 253 83% 53%;
}
Gradient
.gradient-4e21eb {
  background: linear-gradient(135deg, #4e21eb, #b321eb);
}
Colored shadow
.shadow-4e21eb {
  box-shadow: 0 8px 24px rgb(78 33 235 / 0.35);
}

Han Purple
#4e21eb  rgb(78, 33, 235)  hsl(253, 83%, 53%)  Han Purple
#beeb21  rgb(190, 235, 33)  hsl(73, 83%, 53%)  Electric Lime
#eb4e21  rgb(235, 78, 33)  hsl(13, 83%, 53%)  Flame
#21eb4e  rgb(33, 235, 78)  hsl(133, 83%, 53%)  Malachite