#4E2AF5

#4e2af5 ≈ Han Purple

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

#4e2af5 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 30.59% red, 16.47% green and 96.08% blue; printed in CMYK it uses 68.16% cyan, 82.86% magenta, 0% yellow and 3.92% black. Its hue angle is 250.64°, with 91.03% saturation and 56.27% 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.06:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.87.

Description generated from the measured properties of this color.

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

Readable text 7.06:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.97:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #585858 ≈ 0.003% of males
Achromatomaly #544aae ≈ 0.001% of males
Protanopia #0060fa ≈ 1.01% of males
Deuteranopia #0050f2 ≈ 1.27% of males
Tritanopia #006c93 ≈ 0.0001% of males
Protanomaly #0050f8 ≈ 1.08% of males
Deuteranomaly #0044f3 ≈ 4.63% of males
Tritanomaly #0059c2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e2af5 {
  color: #4e2af5;
}
Background
.bg-4e2af5 {
  background-color: #4e2af5;
  color: #ffffff;
}
Border
.border-4e2af5 {
  border: 2px solid #4e2af5;
}
CSS variables
:root {
  --color-primary: #4e2af5;
  --color-primary-rgb: 78 42 245;
  --color-primary-hsl: 251 91% 56%;
}
Gradient
.gradient-4e2af5 {
  background: linear-gradient(135deg, #4e2af5, #b32af5);
}
Colored shadow
.shadow-4e2af5 {
  box-shadow: 0 8px 24px rgb(78 42 245 / 0.35);
}

Han Purple
#4e2af5  rgb(78, 42, 245)  hsl(251, 91%, 56%)  Han Purple
#d1f52a  rgb(209, 245, 42)  hsl(71, 91%, 56%)  Electric Lime
#f54e2a  rgb(245, 78, 42)  hsl(11, 91%, 56%)  Coquelicot
#2af54e  rgb(42, 245, 78)  hsl(131, 91%, 56%)  Lime