#4E20DF

#4e20df ≈ Han Purple

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

#4e20df 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.55% green and 87.45% blue; printed in CMYK it uses 65.02% cyan, 85.65% magenta, 0% yellow and 12.55% black. Its hue angle is 254.45°, with 74.9% saturation and 50% 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.09:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.17.

Description generated from the measured properties of this color.

Conversions of #4e20df 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.0798

Readable text 8.09:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.6:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #505050 ≈ 0.003% of males
Achromatomaly #4f419e ≈ 0.001% of males
Protanopia #0056e4 ≈ 1.01% of males
Deuteranopia #0049dc ≈ 1.27% of males
Tritanopia #006085 ≈ 0.0001% of males
Protanomaly #0046e2 ≈ 1.08% of males
Deuteranomaly #003cdd ≈ 4.63% of males
Tritanomaly #164eb0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#4e20df  rgb(78, 32, 223)  hsl(254, 75%, 50%)  Han Purple
#b1df20  rgb(177, 223, 32)  hsl(74, 75%, 50%)  June Bud
#df4e20  rgb(223, 78, 32)  hsl(14, 75%, 50%)  Flame
#20df4e  rgb(32, 223, 78)  hsl(134, 75%, 50%)  Malachite