#4F2AEF

#4f2aef ≈ Han Purple

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

#4f2aef is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 30.98% red, 16.47% green and 93.73% blue; printed in CMYK it uses 66.95% cyan, 82.43% magenta, 0% yellow and 6.27% black. Its hue angle is 251.27°, with 86.03% saturation and 55.1% 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.22:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.95.

Description generated from the measured properties of this color.

Conversions of #4f2aef 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.0955

Readable text 7.22:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.91:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #575757 ≈ 0.003% of males
Achromatomaly #5449aa ≈ 0.001% of males
Protanopia #005ef4 ≈ 1.01% of males
Deuteranopia #004fec ≈ 1.27% of males
Tritanopia #006a90 ≈ 0.0001% of males
Protanomaly #004ef2 ≈ 1.08% of males
Deuteranomaly #0043ed ≈ 4.63% of males
Tritanomaly #0057be ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4f2aef {
  color: #4f2aef;
}
Background
.bg-4f2aef {
  background-color: #4f2aef;
  color: #ffffff;
}
Border
.border-4f2aef {
  border: 2px solid #4f2aef;
}
CSS variables
:root {
  --color-primary: #4f2aef;
  --color-primary-rgb: 79 42 239;
  --color-primary-hsl: 251 86% 55%;
}
Gradient
.gradient-4f2aef {
  background: linear-gradient(135deg, #4f2aef, #b22aef);
}
Colored shadow
.shadow-4f2aef {
  box-shadow: 0 8px 24px rgb(79 42 239 / 0.35);
}

Han Purple
#4f2aef  rgb(79, 42, 239)  hsl(251, 86%, 55%)  Han Purple
#caef2a  rgb(202, 239, 42)  hsl(71, 86%, 55%)  Electric Lime
#ef4f2a  rgb(239, 79, 42)  hsl(11, 86%, 55%)  Coquelicot
#2aef4f  rgb(42, 239, 79)  hsl(131, 86%, 55%)  Malachite