#4E1FEF

#4e1fef ≈ Han Purple

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

#4e1fef 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.16% green and 93.73% blue; printed in CMYK it uses 67.36% cyan, 87.03% magenta, 0% yellow and 6.27% black. Its hue angle is 253.56°, with 86.67% saturation and 52.94% 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.59:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.34.

Description generated from the measured properties of this color.

Conversions of #4e1fef 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.0883

Readable text 7.59:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.77:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #545454 ≈ 0.003% of males
Achromatomaly #5244a9 ≈ 0.001% of males
Protanopia #005bf4 ≈ 1.01% of males
Deuteranopia #004cec ≈ 1.27% of males
Tritanopia #00668e ≈ 0.0001% of males
Protanomaly #004af2 ≈ 1.08% of males
Deuteranomaly #003eed ≈ 4.63% of males
Tritanomaly #0053bd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#4e1fef  rgb(78, 31, 239)  hsl(254, 87%, 53%)  Han Purple
#c0ef1f  rgb(192, 239, 31)  hsl(74, 87%, 53%)  Electric Lime
#ef4e1f  rgb(239, 78, 31)  hsl(14, 87%, 53%)  Flame
#1fef4e  rgb(31, 239, 78)  hsl(134, 87%, 53%)  Malachite