#4E28E1

#4e28e1 ≈ Han Purple

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

#4e28e1 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 88.24% blue; printed in CMYK it uses 65.33% cyan, 82.22% magenta, 0% yellow and 11.76% black. Its hue angle is 252.32°, with 75.51% saturation and 51.96% 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.74:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.93.

Description generated from the measured properties of this color.

Conversions of #4e28e1 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.0857

Readable text 7.74:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.71:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #5145a0 ≈ 0.001% of males
Protanopia #0059e6 ≈ 1.01% of males
Deuteranopia #004bde ≈ 1.27% of males
Tritanopia #006387 ≈ 0.0001% of males
Protanomaly #004ae4 ≈ 1.08% of males
Deuteranomaly #0040df ≈ 4.63% of males
Tritanomaly #1252b2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#4e28e1  rgb(78, 40, 225)  hsl(252, 76%, 52%)  Han Purple
#bbe128  rgb(187, 225, 40)  hsl(72, 76%, 52%)  Pear
#e14e28  rgb(225, 78, 40)  hsl(12, 76%, 52%)  Flame
#28e14e  rgb(40, 225, 78)  hsl(132, 76%, 52%)  Malachite