#4E17F2

#4e17f2 ≈ Han Purple

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

#4e17f2 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 30.59% red, 9.02% green and 94.9% blue; printed in CMYK it uses 67.77% cyan, 90.5% magenta, 0% yellow and 5.1% black. Its hue angle is 255.07°, with 89.39% saturation and 51.96% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 7.7:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.22.

Description generated from the measured properties of this color.

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

Readable text 7.7:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.73:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #5142ab ≈ 0.001% of males
Protanopia #005bf7 ≈ 1.01% of males
Deuteranopia #004aef ≈ 1.27% of males
Tritanopia #00668f ≈ 0.0001% of males
Protanomaly #0048f5 ≈ 1.08% of males
Deuteranomaly #003cf0 ≈ 4.63% of males
Tritanomaly #0051bf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e17f2 {
  color: #4e17f2;
}
Background
.bg-4e17f2 {
  background-color: #4e17f2;
  color: #ffffff;
}
Border
.border-4e17f2 {
  border: 2px solid #4e17f2;
}
CSS variables
:root {
  --color-primary: #4e17f2;
  --color-primary-rgb: 78 23 242;
  --color-primary-hsl: 255 89% 52%;
}
Gradient
.gradient-4e17f2 {
  background: linear-gradient(135deg, #4e17f2, #bc17f2);
}
Colored shadow
.shadow-4e17f2 {
  box-shadow: 0 8px 24px rgb(78 23 242 / 0.35);
}

Han Purple
#4e17f2  rgb(78, 23, 242)  hsl(255, 89%, 52%)  Han Purple
#bbf217  rgb(187, 242, 23)  hsl(75, 89%, 52%)  Electric Lime
#f24e17  rgb(242, 78, 23)  hsl(15, 89%, 52%)  Tangelo
#17f24e  rgb(23, 242, 78)  hsl(135, 89%, 52%)  Lime