#4E28E3

#4e28e3 ≈ Han Purple

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

#4e28e3 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 89.02% blue; printed in CMYK it uses 65.64% cyan, 82.38% magenta, 0% yellow and 10.98% black. Its hue angle is 252.19°, with 76.95% saturation and 52.35% 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.67:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.73.

Description generated from the measured properties of this color.

Conversions of #4e28e3 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.0868

Readable text 7.67:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.74:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #5146a2 ≈ 0.001% of males
Protanopia #005ae8 ≈ 1.01% of males
Deuteranopia #004ce0 ≈ 1.27% of males
Tritanopia #006489 ≈ 0.0001% of males
Protanomaly #004be6 ≈ 1.08% of males
Deuteranomaly #0040e1 ≈ 4.63% of males
Tritanomaly #0e52b4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e28e3 {
  color: #4e28e3;
}
Background
.bg-4e28e3 {
  background-color: #4e28e3;
  color: #ffffff;
}
Border
.border-4e28e3 {
  border: 2px solid #4e28e3;
}
CSS variables
:root {
  --color-primary: #4e28e3;
  --color-primary-rgb: 78 40 227;
  --color-primary-hsl: 252 77% 52%;
}
Gradient
.gradient-4e28e3 {
  background: linear-gradient(135deg, #4e28e3, #ab28e3);
}
Colored shadow
.shadow-4e28e3 {
  box-shadow: 0 8px 24px rgb(78 40 227 / 0.35);
}

Han Purple
#4e28e3  rgb(78, 40, 227)  hsl(252, 77%, 52%)  Han Purple
#bde328  rgb(189, 227, 40)  hsl(72, 77%, 52%)  Pear
#e34e28  rgb(227, 78, 40)  hsl(12, 77%, 52%)  Flame
#28e34e  rgb(40, 227, 78)  hsl(132, 77%, 52%)  Malachite