#4A28CD

#4a28cd ≈ Han Purple

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

#4a28cd is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 29.02% red, 15.69% green and 80.39% blue; printed in CMYK it uses 63.9% cyan, 80.49% magenta, 0% yellow and 19.61% black. Its hue angle is 252.36°, with 67.35% saturation and 48.04% 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.48:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 5.36.

Description generated from the measured properties of this color.

Conversions of #4a28cd 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.0738

Readable text 8.48:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.48:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4d4d4d ≈ 0.003% of males
Achromatomaly #4c4192 ≈ 0.001% of males
Protanopia #0052d1 ≈ 1.01% of males
Deuteranopia #0047ca ≈ 1.27% of males
Tritanopia #005b7c ≈ 0.0001% of males
Protanomaly #0045d0 ≈ 1.08% of males
Deuteranomaly #003dcb ≈ 4.63% of males
Tritanomaly #1d4ba3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4a28cd {
  color: #4a28cd;
}
Background
.bg-4a28cd {
  background-color: #4a28cd;
  color: #ffffff;
}
Border
.border-4a28cd {
  border: 2px solid #4a28cd;
}
CSS variables
:root {
  --color-primary: #4a28cd;
  --color-primary-rgb: 74 40 205;
  --color-primary-hsl: 252 67% 48%;
}
Gradient
.gradient-4a28cd {
  background: linear-gradient(135deg, #4a28cd, #9c28cd);
}
Colored shadow
.shadow-4a28cd {
  box-shadow: 0 8px 24px rgb(74 40 205 / 0.35);
}

Han Purple
#4a28cd  rgb(74, 40, 205)  hsl(252, 67%, 48%)  Han Purple
#abcd28  rgb(171, 205, 40)  hsl(72, 67%, 48%)  Yellow Green
#cd4a28  rgb(205, 74, 40)  hsl(12, 67%, 48%)  Sinopia
#28cd4a  rgb(40, 205, 74)  hsl(132, 67%, 48%)  Lime Green