#5B04EA

#5b04ea ≈ Han Purple

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

#5b04ea is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 35.69% red, 1.57% green and 91.76% blue; printed in CMYK it uses 61.11% cyan, 98.29% magenta, 0% yellow and 8.24% black. Its hue angle is 262.7°, with 96.64% saturation and 46.67% 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.92:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.56.

Description generated from the measured properties of this color.

Conversions of #5b04ea 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.0825

Readable text 7.92:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.65:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #515151 ≈ 0.003% of males
Achromatomaly #553fa5 ≈ 0.001% of males
Protanopia #0057ef ≈ 1.01% of males
Deuteranopia #004ae7 ≈ 1.27% of males
Tritanopia #005f89 ≈ 0.0001% of males
Protanomaly #0044ed ≈ 1.08% of males
Deuteranomaly #003ae8 ≈ 4.63% of males
Tritanomaly #324ab8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5b04ea {
  color: #5b04ea;
}
Background
.bg-5b04ea {
  background-color: #5b04ea;
  color: #ffffff;
}
Border
.border-5b04ea {
  border: 2px solid #5b04ea;
}
CSS variables
:root {
  --color-primary: #5b04ea;
  --color-primary-rgb: 91 4 234;
  --color-primary-hsl: 263 97% 47%;
}
Gradient
.gradient-5b04ea {
  background: linear-gradient(135deg, #5b04ea, #ce04ea);
}
Colored shadow
.shadow-5b04ea {
  box-shadow: 0 8px 24px rgb(91 4 234 / 0.35);
}

Han Purple
#5b04ea  rgb(91, 4, 234)  hsl(263, 97%, 47%)  Han Purple
#93ea04  rgb(147, 234, 4)  hsl(83, 97%, 47%)  Spring Bud
#ea5b04  rgb(234, 91, 4)  hsl(23, 97%, 47%)  Persimmon
#04ea5b  rgb(4, 234, 91)  hsl(143, 97%, 47%)  Malachite