#4E28D0

#4e28d0 ≈ Han Purple

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

#4e28d0 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 81.57% blue; printed in CMYK it uses 62.5% cyan, 80.77% magenta, 0% yellow and 18.43% black. Its hue angle is 253.57°, with 67.74% saturation and 48.63% 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.27:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 4.86.

Description generated from the measured properties of this color.

Conversions of #4e28d0 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.0769

Readable text 8.27:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.54:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4e4e4e ≈ 0.003% of males
Achromatomaly #4e4295 ≈ 0.001% of males
Protanopia #0054d5 ≈ 1.01% of males
Deuteranopia #0048cd ≈ 1.27% of males
Tritanopia #005c7d ≈ 0.0001% of males
Protanomaly #0046d3 ≈ 1.08% of males
Deuteranomaly #003ece ≈ 4.63% of males
Tritanomaly #264ca5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#4e28d0  rgb(78, 40, 208)  hsl(254, 68%, 49%)  Han Purple
#aad028  rgb(170, 208, 40)  hsl(74, 68%, 49%)  Yellow Green
#d04e28  rgb(208, 78, 40)  hsl(14, 68%, 49%)  Sinopia
#28d04e  rgb(40, 208, 78)  hsl(134, 68%, 49%)  Malachite