#4E1DEC

#4e1dec ≈ Han Purple

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

#4e1dec is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 30.59% red, 11.37% green and 92.55% blue; printed in CMYK it uses 66.95% cyan, 87.71% magenta, 0% yellow and 7.45% black. Its hue angle is 254.2°, with 84.49% saturation and 51.96% 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.75:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.7.

Description generated from the measured properties of this color.

Conversions of #4e1dec 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.0855

Readable text 7.75:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.71:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #5143a7 ≈ 0.001% of males
Protanopia #005af1 ≈ 1.01% of males
Deuteranopia #004ae9 ≈ 1.27% of males
Tritanopia #00658c ≈ 0.0001% of males
Protanomaly #0049ef ≈ 1.08% of males
Deuteranomaly #003dea ≈ 4.63% of males
Tritanomaly #0051ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#4e1dec  rgb(78, 29, 236)  hsl(254, 84%, 52%)  Han Purple
#bbec1d  rgb(187, 236, 29)  hsl(74, 84%, 52%)  Electric Lime
#ec4e1d  rgb(236, 78, 29)  hsl(14, 84%, 52%)  Flame
#1dec4e  rgb(29, 236, 78)  hsl(134, 84%, 52%)  Malachite