#4E28DC

#4e28dc ≈ Han Purple

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

#4e28dc is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 30.59% red, 15.69% green and 86.27% blue; printed in CMYK it uses 64.55% cyan, 81.82% magenta, 0% yellow and 13.73% black. Its hue angle is 252.67°, with 72% saturation and 50.98% 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 7.89:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.47.

Description generated from the measured properties of this color.

Conversions of #4e28dc 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.083

Readable text 7.89:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.66:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #515151 ≈ 0.003% of males
Achromatomaly #50449d ≈ 0.001% of males
Protanopia #0057e1 ≈ 1.01% of males
Deuteranopia #004bd9 ≈ 1.27% of males
Tritanopia #006184 ≈ 0.0001% of males
Protanomaly #0049df ≈ 1.08% of males
Deuteranomaly #003fda ≈ 4.63% of males
Tritanomaly #1a50ae ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e28dc {
  color: #4e28dc;
}
Background
.bg-4e28dc {
  background-color: #4e28dc;
  color: #ffffff;
}
Border
.border-4e28dc {
  border: 2px solid #4e28dc;
}
CSS variables
:root {
  --color-primary: #4e28dc;
  --color-primary-rgb: 78 40 220;
  --color-primary-hsl: 253 72% 51%;
}
Gradient
.gradient-4e28dc {
  background: linear-gradient(135deg, #4e28dc, #a828dc);
}
Colored shadow
.shadow-4e28dc {
  box-shadow: 0 8px 24px rgb(78 40 220 / 0.35);
}

Han Purple
#4e28dc  rgb(78, 40, 220)  hsl(253, 72%, 51%)  Han Purple
#b6dc28  rgb(182, 220, 40)  hsl(73, 72%, 51%)  June Bud
#dc4e28  rgb(220, 78, 40)  hsl(13, 72%, 51%)  Flame
#28dc4e  rgb(40, 220, 78)  hsl(133, 72%, 51%)  Malachite