#4E1FE9

#4e1fe9 ≈ Han Purple

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

#4e1fe9 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 91.37% blue; printed in CMYK it uses 66.52% cyan, 86.7% magenta, 0% yellow and 8.63% black. Its hue angle is 253.96°, with 82.11% saturation and 51.76% 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.79:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.01.

Description generated from the measured properties of this color.

Conversions of #4e1fe9 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.0848

Readable text 7.79:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.7:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #5143a5 ≈ 0.001% of males
Protanopia #0059ee ≈ 1.01% of males
Deuteranopia #004ae6 ≈ 1.27% of males
Tritanopia #00648b ≈ 0.0001% of males
Protanomaly #0048ec ≈ 1.08% of males
Deuteranomaly #003de7 ≈ 4.63% of males
Tritanomaly #0051b8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#4e1fe9  rgb(78, 31, 233)  hsl(254, 82%, 52%)  Han Purple
#bae91f  rgb(186, 233, 31)  hsl(74, 82%, 52%)  Electric Lime
#e94e1f  rgb(233, 78, 31)  hsl(14, 82%, 52%)  Flame
#1fe94e  rgb(31, 233, 78)  hsl(134, 82%, 52%)  Malachite