#4E1FE6

#4e1fe6 ≈ Han Purple

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

#4e1fe6 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 90.2% blue; printed in CMYK it uses 66.09% cyan, 86.52% magenta, 0% yellow and 9.8% black. Its hue angle is 254.17°, with 79.92% saturation and 51.18% 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 7.89:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.36.

Description generated from the measured properties of this color.

Conversions of #4e1fe6 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.0831

Readable text 7.89:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.66:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #515151 ≈ 0.003% of males
Achromatomaly #5043a3 ≈ 0.001% of males
Protanopia #0058eb ≈ 1.01% of males
Deuteranopia #004ae3 ≈ 1.27% of males
Tritanopia #006389 ≈ 0.0001% of males
Protanomaly #0048e9 ≈ 1.08% of males
Deuteranomaly #003de4 ≈ 4.63% of males
Tritanomaly #0850b6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#4e1fe6  rgb(78, 31, 230)  hsl(254, 80%, 51%)  Han Purple
#b7e61f  rgb(183, 230, 31)  hsl(74, 80%, 51%)  Pear
#e64e1f  rgb(230, 78, 31)  hsl(14, 80%, 51%)  Flame
#1fe64e  rgb(31, 230, 78)  hsl(134, 80%, 51%)  Malachite