#4F2EF2

#4f2ef2 ≈ Han Purple

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

#4f2ef2 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 30.98% red, 18.04% green and 94.9% blue; printed in CMYK it uses 67.36% cyan, 80.99% magenta, 0% yellow and 5.1% black. Its hue angle is 250.1°, with 88.29% saturation and 56.47% 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.99:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 2.42.

Description generated from the measured properties of this color.

Conversions of #4f2ef2 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.1003

Readable text 6.99:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.01:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #595959 ≈ 0.003% of males
Achromatomaly #554bad ≈ 0.001% of males
Protanopia #0061f7 ≈ 1.01% of males
Deuteranopia #0051ef ≈ 1.27% of males
Tritanopia #006c92 ≈ 0.0001% of males
Protanomaly #0051f5 ≈ 1.08% of males
Deuteranomaly #0045f0 ≈ 4.63% of males
Tritanomaly #005ac0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4f2ef2 {
  color: #4f2ef2;
}
Background
.bg-4f2ef2 {
  background-color: #4f2ef2;
  color: #ffffff;
}
Border
.border-4f2ef2 {
  border: 2px solid #4f2ef2;
}
CSS variables
:root {
  --color-primary: #4f2ef2;
  --color-primary-rgb: 79 46 242;
  --color-primary-hsl: 250 88% 56%;
}
Gradient
.gradient-4f2ef2 {
  background: linear-gradient(135deg, #4f2ef2, #b12ef2);
}
Colored shadow
.shadow-4f2ef2 {
  box-shadow: 0 8px 24px rgb(79 46 242 / 0.35);
}

Han Purple
#4f2ef2  rgb(79, 46, 242)  hsl(250, 88%, 56%)  Han Purple
#d1f22e  rgb(209, 242, 46)  hsl(70, 88%, 56%)  Electric Lime
#f24f2e  rgb(242, 79, 46)  hsl(10, 88%, 56%)  Coquelicot
#2ef24f  rgb(46, 242, 79)  hsl(130, 88%, 56%)  Lime