#4E1AF8

#4e1af8 ≈ Han Purple

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

#4e1af8 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 30.59% red, 10.2% green and 97.25% blue; printed in CMYK it uses 68.55% cyan, 89.52% magenta, 0% yellow and 2.75% black. Its hue angle is 254.05°, with 94.07% saturation and 53.73% 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.43:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 0.47.

Description generated from the measured properties of this color.

Conversions of #4e1af8 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.0914

Readable text 7.43:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.83:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #555555 ≈ 0.003% of males
Achromatomaly #5245af ≈ 0.001% of males
Protanopia #005dfe ≈ 1.01% of males
Deuteranopia #004cf5 ≈ 1.27% of males
Tritanopia #006993 ≈ 0.0001% of males
Protanomaly #004bfb ≈ 1.08% of males
Deuteranomaly #003ef6 ≈ 4.63% of males
Tritanomaly #0054c4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e1af8 {
  color: #4e1af8;
}
Background
.bg-4e1af8 {
  background-color: #4e1af8;
  color: #ffffff;
}
Border
.border-4e1af8 {
  border: 2px solid #4e1af8;
}
CSS variables
:root {
  --color-primary: #4e1af8;
  --color-primary-rgb: 78 26 248;
  --color-primary-hsl: 254 94% 54%;
}
Gradient
.gradient-4e1af8 {
  background: linear-gradient(135deg, #4e1af8, #bd1af8);
}
Colored shadow
.shadow-4e1af8 {
  box-shadow: 0 8px 24px rgb(78 26 248 / 0.35);
}

Han Purple
#4e1af8  rgb(78, 26, 248)  hsl(254, 94%, 54%)  Han Purple
#c4f81a  rgb(196, 248, 26)  hsl(74, 94%, 54%)  Electric Lime
#f84e1a  rgb(248, 78, 26)  hsl(14, 94%, 54%)  Orange Red
#1af84e  rgb(26, 248, 78)  hsl(134, 94%, 54%)  Lime