#4E28CE

#4e28ce ≈ Han Purple

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

#4e28ce 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 80.78% blue; printed in CMYK it uses 62.14% cyan, 80.58% magenta, 0% yellow and 19.22% black. Its hue angle is 253.73°, with 67.48% saturation and 48.24% 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.34:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 5.1.

Description generated from the measured properties of this color.

Conversions of #4e28ce 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.0759

Readable text 8.34:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.52:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4e4e4e ≈ 0.003% of males
Achromatomaly #4e4293 ≈ 0.001% of males
Protanopia #0053d3 ≈ 1.01% of males
Deuteranopia #0048cb ≈ 1.27% of males
Tritanopia #005b7c ≈ 0.0001% of males
Protanomaly #0046d1 ≈ 1.08% of males
Deuteranomaly #003dcc ≈ 4.63% of males
Tritanomaly #274ca3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#4e28ce  rgb(78, 40, 206)  hsl(254, 67%, 48%)  Han Purple
#a8ce28  rgb(168, 206, 40)  hsl(74, 67%, 48%)  Yellow Green
#ce4e28  rgb(206, 78, 40)  hsl(14, 67%, 48%)  Sinopia
#28ce4e  rgb(40, 206, 78)  hsl(134, 67%, 48%)  Malachite