#4C28EA

#4c28ea ≈ Han Purple

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

#4c28ea is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 29.8% red, 15.69% green and 91.76% blue; printed in CMYK it uses 67.52% cyan, 82.91% magenta, 0% yellow and 8.24% black. Its hue angle is 251.13°, with 82.2% saturation and 53.73% 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.5:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.16.

Description generated from the measured properties of this color.

Conversions of #4c28ea 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.0899

Readable text 7.5:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.8:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #555555 ≈ 0.003% of males
Achromatomaly #5147a6 ≈ 0.001% of males
Protanopia #005cef ≈ 1.01% of males
Deuteranopia #004de7 ≈ 1.27% of males
Tritanopia #00678d ≈ 0.0001% of males
Protanomaly #004ced ≈ 1.08% of males
Deuteranomaly #0041e8 ≈ 4.63% of males
Tritanomaly #0055ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4c28ea {
  color: #4c28ea;
}
Background
.bg-4c28ea {
  background-color: #4c28ea;
  color: #ffffff;
}
Border
.border-4c28ea {
  border: 2px solid #4c28ea;
}
CSS variables
:root {
  --color-primary: #4c28ea;
  --color-primary-rgb: 76 40 234;
  --color-primary-hsl: 251 82% 54%;
}
Gradient
.gradient-4c28ea {
  background: linear-gradient(135deg, #4c28ea, #ad28ea);
}
Colored shadow
.shadow-4c28ea {
  box-shadow: 0 8px 24px rgb(76 40 234 / 0.35);
}

Han Purple
#4c28ea  rgb(76, 40, 234)  hsl(251, 82%, 54%)  Han Purple
#c6ea28  rgb(198, 234, 40)  hsl(71, 82%, 54%)  Pear
#ea4c28  rgb(234, 76, 40)  hsl(11, 82%, 54%)  Flame
#28ea4c  rgb(40, 234, 76)  hsl(131, 82%, 54%)  Malachite