#4E1FD4

#4e1fd4 ≈ Han Purple

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#4e1fd4 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 30.59% red, 12.16% green and 83.14% blue; printed in CMYK it uses 63.21% cyan, 85.38% magenta, 0% yellow and 16.86% black. Its hue angle is 255.58°, with 74.49% saturation and 47.65% 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 8.5:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 4.53.

Description generated from the measured properties of this color.

Conversions of #4e1fd4 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.0735

Readable text 8.5:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.47:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4d4d4d ≈ 0.003% of males
Achromatomaly #4d3f97 ≈ 0.001% of males
Protanopia #0052d9 ≈ 1.01% of males
Deuteranopia #0046d1 ≈ 1.27% of males
Tritanopia #005b7e ≈ 0.0001% of males
Protanomaly #0043d7 ≈ 1.08% of males
Deuteranomaly #003ad2 ≈ 4.63% of males
Tritanomaly #234aa8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#4e1fd4  rgb(78, 31, 212)  hsl(256, 74%, 48%)  Han Purple
#a5d41f  rgb(165, 212, 31)  hsl(76, 74%, 48%)  Yellow Green
#d44e1f  rgb(212, 78, 31)  hsl(16, 74%, 48%)  Sinopia
#1fd44e  rgb(31, 212, 78)  hsl(136, 74%, 48%)  Malachite