#4C2CD2

#4c2cd2 ≈ Han Purple

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#4c2cd2 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 29.8% red, 17.25% green and 82.35% blue; printed in CMYK it uses 63.81% cyan, 79.05% magenta, 0% yellow and 17.65% black. Its hue angle is 251.57°, with 65.35% saturation and 49.8% 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 brand accents. White text on this color reaches a contrast ratio of 8.08:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 4.75.

Description generated from the measured properties of this color.

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

Readable text 8.08:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.6:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #505050 ≈ 0.003% of males
Achromatomaly #4e4496 ≈ 0.001% of males
Protanopia #0056d7 ≈ 1.01% of males
Deuteranopia #004acf ≈ 1.27% of males
Tritanopia #005e7f ≈ 0.0001% of males
Protanomaly #0048d5 ≈ 1.08% of males
Deuteranomaly #0040d0 ≈ 4.63% of males
Tritanomaly #1e4fa7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4c2cd2 {
  color: #4c2cd2;
}
Background
.bg-4c2cd2 {
  background-color: #4c2cd2;
  color: #ffffff;
}
Border
.border-4c2cd2 {
  border: 2px solid #4c2cd2;
}
CSS variables
:root {
  --color-primary: #4c2cd2;
  --color-primary-rgb: 76 44 210;
  --color-primary-hsl: 252 65% 50%;
}
Gradient
.gradient-4c2cd2 {
  background: linear-gradient(135deg, #4c2cd2, #9f2cd2);
}
Colored shadow
.shadow-4c2cd2 {
  box-shadow: 0 8px 24px rgb(76 44 210 / 0.35);
}

Han Purple
#4c2cd2  rgb(76, 44, 210)  hsl(252, 65%, 50%)  Han Purple
#b2d22c  rgb(178, 210, 44)  hsl(72, 65%, 50%)  June Bud
#d24c2c  rgb(210, 76, 44)  hsl(12, 65%, 50%)  Cinnabar
#2cd24c  rgb(44, 210, 76)  hsl(132, 65%, 50%)  Malachite