#4C22FA

#4c22fa ≈ Han Purple

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

#4c22fa is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 29.8% red, 13.33% green and 98.04% blue; printed in CMYK it uses 69.6% cyan, 86.4% magenta, 0% yellow and 1.96% black. Its hue angle is 251.67°, with 95.58% saturation and 55.69% 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.2:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.02.

Description generated from the measured properties of this color.

Conversions of #4c22fa 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.0958

Readable text 7.2:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.92:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #575757 ≈ 0.003% of males
Achromatomaly #5347b1 ≈ 0.001% of males
Protanopia #0060ff ≈ 1.01% of males
Deuteranopia #004ef7 ≈ 1.27% of males
Tritanopia #006c95 ≈ 0.0001% of males
Protanomaly #004efd ≈ 1.08% of males
Deuteranomaly #0041f8 ≈ 4.63% of males
Tritanomaly #0058c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4c22fa {
  color: #4c22fa;
}
Background
.bg-4c22fa {
  background-color: #4c22fa;
  color: #ffffff;
}
Border
.border-4c22fa {
  border: 2px solid #4c22fa;
}
CSS variables
:root {
  --color-primary: #4c22fa;
  --color-primary-rgb: 76 34 250;
  --color-primary-hsl: 252 96% 56%;
}
Gradient
.gradient-4c22fa {
  background: linear-gradient(135deg, #4c22fa, #b822fa);
}
Colored shadow
.shadow-4c22fa {
  box-shadow: 0 8px 24px rgb(76 34 250 / 0.35);
}

Han Purple
#4c22fa  rgb(76, 34, 250)  hsl(252, 96%, 56%)  Han Purple
#d0fa22  rgb(208, 250, 34)  hsl(72, 96%, 56%)  Electric Lime
#fa4c22  rgb(250, 76, 34)  hsl(12, 96%, 56%)  Coquelicot
#22fa4c  rgb(34, 250, 76)  hsl(132, 96%, 56%)  Lime