#4E1FE4

#4e1fe4 ≈ Han Purple

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

#4e1fe4 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 89.41% blue; printed in CMYK it uses 65.79% cyan, 86.4% magenta, 0% yellow and 10.59% black. Its hue angle is 254.31°, with 78.49% saturation and 50.78% 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.95:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.6.

Description generated from the measured properties of this color.

Conversions of #4e1fe4 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6633cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.082

Readable text 7.95:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.64:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #515151 ≈ 0.003% of males
Achromatomaly #5042a2 ≈ 0.001% of males
Protanopia #0058e9 ≈ 1.01% of males
Deuteranopia #0049e1 ≈ 1.27% of males
Tritanopia #006288 ≈ 0.0001% of males
Protanomaly #0047e7 ≈ 1.08% of males
Deuteranomaly #003ce2 ≈ 4.63% of males
Tritanomaly #0d4fb4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#4e1fe4  rgb(78, 31, 228)  hsl(254, 78%, 51%)  Han Purple
#b5e41f  rgb(181, 228, 31)  hsl(74, 78%, 51%)  June Bud
#e44e1f  rgb(228, 78, 31)  hsl(14, 78%, 51%)  Flame
#1fe44e  rgb(31, 228, 78)  hsl(134, 78%, 51%)  Malachite