#4D28CB

#4d28cb ≈ Han Purple

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

#4d28cb is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 30.2% red, 15.69% green and 79.61% blue; printed in CMYK it uses 62.07% cyan, 80.3% magenta, 0% yellow and 20.39% black. Its hue angle is 253.62°, with 67.08% saturation and 47.65% 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.46:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 5.49.

Description generated from the measured properties of this color.

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

Readable text 8.46: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 #4d4191 ≈ 0.001% of males
Protanopia #0052cf ≈ 1.01% of males
Deuteranopia #0047c8 ≈ 1.27% of males
Tritanopia #005a7b ≈ 0.0001% of males
Protanomaly #0045ce ≈ 1.08% of males
Deuteranomaly #003dc9 ≈ 4.63% of males
Tritanomaly #274ba1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#4d28cb  rgb(77, 40, 203)  hsl(254, 67%, 48%)  Han Purple
#a6cb28  rgb(166, 203, 40)  hsl(74, 67%, 48%)  Yellow Green
#cb4d28  rgb(203, 77, 40)  hsl(14, 67%, 48%)  Sinopia
#28cb4d  rgb(40, 203, 77)  hsl(134, 67%, 48%)  Lime Green