#4E1FD8

#4e1fd8 ≈ Han Purple

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

#4e1fd8 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 84.71% blue; printed in CMYK it uses 63.89% cyan, 85.65% magenta, 0% yellow and 15.29% black. Its hue angle is 255.24°, with 74.9% saturation and 48.43% 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.36:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 4.04.

Description generated from the measured properties of this color.

Conversions of #4e1fd8 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.0756

Readable text 8.36:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.51:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4e4e4e ≈ 0.003% of males
Achromatomaly #4e4099 ≈ 0.001% of males
Protanopia #0054dd ≈ 1.01% of males
Deuteranopia #0047d5 ≈ 1.27% of males
Tritanopia #005c81 ≈ 0.0001% of males
Protanomaly #0044db ≈ 1.08% of males
Deuteranomaly #003bd6 ≈ 4.63% of males
Tritanomaly #1f4bab ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#4e1fd8  rgb(78, 31, 216)  hsl(255, 75%, 48%)  Han Purple
#a9d81f  rgb(169, 216, 31)  hsl(75, 75%, 48%)  Yellow Green
#d84e1f  rgb(216, 78, 31)  hsl(15, 75%, 48%)  Flame
#1fd84e  rgb(31, 216, 78)  hsl(135, 75%, 48%)  Malachite