#4E04FE

#4e04fe ≈ Han Purple

  • violet
  • Lightness: medium
  • Saturation: vivid
  • Cool

#4e04fe is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 30.59% red, 1.57% green and 99.61% blue; printed in CMYK it uses 69.29% cyan, 98.43% magenta, 0% yellow and 0.39% black. Its hue angle is 257.76°, with 99.21% saturation and 50.59% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 7.57:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.15.

Description generated from the measured properties of this color.

Conversions of #4e04fe into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6600ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0886

Readable text 7.57:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.77:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #545454 ≈ 0.003% of males
Achromatomaly #5241b3 ≈ 0.001% of males
Protanopia #005cff ≈ 1.01% of males
Deuteranopia #004afa ≈ 1.27% of males
Tritanopia #006995 ≈ 0.0001% of males
Protanomaly #0048ff ≈ 1.08% of males
Deuteranomaly #003afc ≈ 4.63% of males
Tritanomaly #0052c8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#4e04fe  rgb(78, 4, 254)  hsl(258, 99%, 51%)  Han Purple
#b4fe04  rgb(180, 254, 4)  hsl(78, 99%, 51%)  Spring Bud
#fe4e04  rgb(254, 78, 4)  hsl(18, 99%, 51%)  International Orange
#04fe4e  rgb(4, 254, 78)  hsl(138, 99%, 51%)  Lime