#4E1FDB

#4e1fdb ≈ Han Purple

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

#4e1fdb 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 85.88% blue; printed in CMYK it uses 64.38% cyan, 85.84% magenta, 0% yellow and 14.12% black. Its hue angle is 255°, with 75.2% saturation and 49.02% 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.26:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.68.

Description generated from the measured properties of this color.

Conversions of #4e1fdb 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.0771

Readable text 8.26:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.54:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4e4e4e ≈ 0.003% of males
Achromatomaly #4e409b ≈ 0.001% of males
Protanopia #0055e0 ≈ 1.01% of males
Deuteranopia #0048d8 ≈ 1.27% of males
Tritanopia #005e83 ≈ 0.0001% of males
Protanomaly #0045de ≈ 1.08% of males
Deuteranomaly #003bd9 ≈ 4.63% of males
Tritanomaly #1b4cad ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#4e1fdb  rgb(78, 31, 219)  hsl(255, 75%, 49%)  Han Purple
#acdb1f  rgb(172, 219, 31)  hsl(75, 75%, 49%)  Yellow Green
#db4e1f  rgb(219, 78, 31)  hsl(15, 75%, 49%)  Flame
#1fdb4e  rgb(31, 219, 78)  hsl(135, 75%, 49%)  Malachite