#4C2FF2

#4c2ff2 ≈ Han Purple

  • blue
  • Lightness: medium
  • Saturation: vivid
  • Cool

#4c2ff2 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 29.8% red, 18.43% green and 94.9% blue; printed in CMYK it uses 68.6% cyan, 80.58% magenta, 0% yellow and 5.1% black. Its hue angle is 248.92°, with 88.24% saturation and 56.67% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and call-to-action buttons. White text on this color reaches a contrast ratio of 7.01:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.6.

Description generated from the measured properties of this color.

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

Readable text 7.01:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 3:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #595959 ≈ 0.003% of males
Achromatomaly #544bac ≈ 0.001% of males
Protanopia #0061f7 ≈ 1.01% of males
Deuteranopia #0051ef ≈ 1.27% of males
Tritanopia #006d93 ≈ 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-4c2ff2 {
  color: #4c2ff2;
}
Background
.bg-4c2ff2 {
  background-color: #4c2ff2;
  color: #ffffff;
}
Border
.border-4c2ff2 {
  border: 2px solid #4c2ff2;
}
CSS variables
:root {
  --color-primary: #4c2ff2;
  --color-primary-rgb: 76 47 242;
  --color-primary-hsl: 249 88% 57%;
}
Gradient
.gradient-4c2ff2 {
  background: linear-gradient(135deg, #4c2ff2, #ad2ff2);
}
Colored shadow
.shadow-4c2ff2 {
  box-shadow: 0 8px 24px rgb(76 47 242 / 0.35);
}

Han Purple
#4c2ff2  rgb(76, 47, 242)  hsl(249, 88%, 57%)  Han Purple
#d5f22f  rgb(213, 242, 47)  hsl(69, 88%, 57%)  Chartreuse Yellow
#f24c2f  rgb(242, 76, 47)  hsl(9, 88%, 57%)  Ferrari Red
#2ff24c  rgb(47, 242, 76)  hsl(129, 88%, 57%)  Lime