#4E21CC

#4e21cc ≈ Han Purple

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

#4e21cc 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.94% green and 80% blue; printed in CMYK it uses 61.76% cyan, 83.82% magenta, 0% yellow and 20% black. Its hue angle is 255.79°, with 72.15% saturation and 46.47% 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.7:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 5.46.

Description generated from the measured properties of this color.

Conversions of #4e21cc 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.0707

Readable text 8.7:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.41:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4b4b4b ≈ 0.003% of males
Achromatomaly #4c3e91 ≈ 0.001% of males
Protanopia #0050d1 ≈ 1.01% of males
Deuteranopia #0045c9 ≈ 1.27% of males
Tritanopia #00587a ≈ 0.0001% of males
Protanomaly #0042cf ≈ 1.08% of males
Deuteranomaly #003aca ≈ 4.63% of males
Tritanomaly #2948a1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e21cc {
  color: #4e21cc;
}
Background
.bg-4e21cc {
  background-color: #4e21cc;
  color: #ffffff;
}
Border
.border-4e21cc {
  border: 2px solid #4e21cc;
}
CSS variables
:root {
  --color-primary: #4e21cc;
  --color-primary-rgb: 78 33 204;
  --color-primary-hsl: 256 72% 46%;
}
Gradient
.gradient-4e21cc {
  background: linear-gradient(135deg, #4e21cc, #a321cc);
}
Colored shadow
.shadow-4e21cc {
  box-shadow: 0 8px 24px rgb(78 33 204 / 0.35);
}

Han Purple
#4e21cc  rgb(78, 33, 204)  hsl(256, 72%, 46%)  Han Purple
#9fcc21  rgb(159, 204, 33)  hsl(76, 72%, 46%)  Yellow Green
#cc4e21  rgb(204, 78, 33)  hsl(16, 72%, 46%)  Sinopia
#21cc4e  rgb(33, 204, 78)  hsl(136, 72%, 46%)  Lime Green