#4E1FDF

#4e1fdf ≈ Han Purple

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

#4e1fdf 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 87.45% blue; printed in CMYK it uses 65.02% cyan, 86.1% magenta, 0% yellow and 12.55% black. Its hue angle is 254.69°, with 75.59% saturation and 49.8% 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.12:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.19.

Description generated from the measured properties of this color.

Conversions of #4e1fdf 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.0793

Readable text 8.12:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.59:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #505050 ≈ 0.003% of males
Achromatomaly #4f419e ≈ 0.001% of males
Protanopia #0056e4 ≈ 1.01% of males
Deuteranopia #0048dc ≈ 1.27% of males
Tritanopia #005f85 ≈ 0.0001% of males
Protanomaly #0046e2 ≈ 1.08% of males
Deuteranomaly #003cdd ≈ 4.63% of males
Tritanomaly #164db0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#4e1fdf  rgb(78, 31, 223)  hsl(255, 76%, 50%)  Han Purple
#b0df1f  rgb(176, 223, 31)  hsl(75, 76%, 50%)  June Bud
#df4e1f  rgb(223, 78, 31)  hsl(15, 76%, 50%)  Flame
#1fdf4e  rgb(31, 223, 78)  hsl(135, 76%, 50%)  Malachite