#4E20E4

#4e20e4 ≈ Han Purple

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

#4e20e4 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 89.41% blue; printed in CMYK it uses 65.79% cyan, 85.96% magenta, 0% yellow and 10.59% black. Its hue angle is 254.08°, with 78.4% saturation and 50.98% 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.92:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.57.

Description generated from the measured properties of this color.

Conversions of #4e20e4 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.0825

Readable text 7.92:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.65:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #515151 ≈ 0.003% of males
Achromatomaly #5043a2 ≈ 0.001% of males
Protanopia #0058e9 ≈ 1.01% of males
Deuteranopia #004ae1 ≈ 1.27% of males
Tritanopia #006288 ≈ 0.0001% of males
Protanomaly #0048e7 ≈ 1.08% of males
Deuteranomaly #003de2 ≈ 4.63% of males
Tritanomaly #0d4fb4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#4e20e4  rgb(78, 32, 228)  hsl(254, 78%, 51%)  Han Purple
#b6e420  rgb(182, 228, 32)  hsl(74, 78%, 51%)  June Bud
#e44e20  rgb(228, 78, 32)  hsl(14, 78%, 51%)  Flame
#20e44e  rgb(32, 228, 78)  hsl(134, 78%, 51%)  Malachite