#5D04EF

#5d04ef ≈ Han Purple

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

#5d04ef is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 36.47% red, 1.57% green and 93.73% blue; printed in CMYK it uses 61.09% cyan, 98.33% magenta, 0% yellow and 6.27% black. Its hue angle is 262.72°, with 96.71% saturation and 47.65% 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.69:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.04.

Description generated from the measured properties of this color.

Conversions of #5d04ef 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.0865

Readable text 7.69:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.73:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #5741a9 ≈ 0.001% of males
Protanopia #0059f4 ≈ 1.01% of males
Deuteranopia #004cec ≈ 1.27% of males
Tritanopia #00618c ≈ 0.0001% of males
Protanomaly #0045f2 ≈ 1.08% of males
Deuteranomaly #003bed ≈ 4.63% of males
Tritanomaly #334cbc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#5d04ef  rgb(93, 4, 239)  hsl(263, 97%, 48%)  Han Purple
#96ef04  rgb(150, 239, 4)  hsl(83, 97%, 48%)  Spring Bud
#ef5d04  rgb(239, 93, 4)  hsl(23, 97%, 48%)  Persimmon
#04ef5d  rgb(4, 239, 93)  hsl(143, 97%, 48%)  Spring Green