#4E22E5

#4e22e5 ≈ Han Purple

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

#4e22e5 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 30.59% red, 13.33% green and 89.8% blue; printed in CMYK it uses 65.94% cyan, 85.15% magenta, 0% yellow and 10.2% black. Its hue angle is 253.54°, with 78.95% saturation and 51.57% 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 7.82:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.43.

Description generated from the measured properties of this color.

Conversions of #4e22e5 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.0842

Readable text 7.82:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.68:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #5043a3 ≈ 0.001% of males
Protanopia #0059ea ≈ 1.01% of males
Deuteranopia #004ae2 ≈ 1.27% of males
Tritanopia #006389 ≈ 0.0001% of males
Protanomaly #0049e8 ≈ 1.08% of males
Deuteranomaly #003ee3 ≈ 4.63% of males
Tritanomaly #0a50b5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#4e22e5  rgb(78, 34, 229)  hsl(254, 79%, 52%)  Han Purple
#b9e522  rgb(185, 229, 34)  hsl(74, 79%, 52%)  Pear
#e54e22  rgb(229, 78, 34)  hsl(14, 79%, 52%)  Flame
#22e54e  rgb(34, 229, 78)  hsl(134, 79%, 52%)  Malachite