#4E2AFA

#4e2afa ≈ Han Purple

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

#4e2afa 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 98.04% blue; printed in CMYK it uses 68.8% cyan, 83.2% magenta, 0% yellow and 1.96% black. Its hue angle is 250.38°, with 95.41% saturation and 57.25% 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 6.92:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 2.

Description generated from the measured properties of this color.

Conversions of #4e2afa 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.1018

Readable text 6.92:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.04:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5a5a5a ≈ 0.003% of males
Achromatomaly #554bb2 ≈ 0.001% of males
Protanopia #0062ff ≈ 1.01% of males
Deuteranopia #0051f7 ≈ 1.27% of males
Tritanopia #006e96 ≈ 0.0001% of males
Protanomaly #0051fd ≈ 1.08% of males
Deuteranomaly #0044f8 ≈ 4.63% of males
Tritanomaly #005ac6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#4e2afa  rgb(78, 42, 250)  hsl(250, 95%, 57%)  Han Purple
#d6fa2a  rgb(214, 250, 42)  hsl(70, 95%, 57%)  Chartreuse Yellow
#fa4e2a  rgb(250, 78, 42)  hsl(10, 95%, 57%)  Coquelicot
#2afa4e  rgb(42, 250, 78)  hsl(130, 95%, 57%)  Lime