#4E28CF

#4e28cf ≈ Han Purple

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

#4e28cf 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.18% blue; printed in CMYK it uses 62.32% cyan, 80.68% magenta, 0% yellow and 18.82% black. Its hue angle is 253.65°, with 67.61% saturation and 48.43% 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.31:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 4.98.

Description generated from the measured properties of this color.

Conversions of #4e28cf 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.0764

Readable text 8.31:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.53:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4e4e4e ≈ 0.003% of males
Achromatomaly #4e4294 ≈ 0.001% of males
Protanopia #0053d4 ≈ 1.01% of males
Deuteranopia #0048cc ≈ 1.27% of males
Tritanopia #005c7d ≈ 0.0001% of males
Protanomaly #0046d2 ≈ 1.08% of males
Deuteranomaly #003ecd ≈ 4.63% of males
Tritanomaly #274ca4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#4e28cf  rgb(78, 40, 207)  hsl(254, 68%, 48%)  Han Purple
#a9cf28  rgb(169, 207, 40)  hsl(74, 68%, 48%)  Yellow Green
#cf4e28  rgb(207, 78, 40)  hsl(14, 68%, 48%)  Sinopia
#28cf4e  rgb(40, 207, 78)  hsl(134, 68%, 48%)  Malachite