#520DF4

#520df4 ≈ Han Purple

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

#520df4 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 32.16% red, 5.1% green and 95.69% blue; printed in CMYK it uses 66.39% cyan, 94.67% magenta, 0% yellow and 4.31% black. Its hue angle is 257.92°, with 91.3% saturation and 50.39% 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.71:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.31.

Description generated from the measured properties of this color.

Conversions of #520df4 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.0861

Readable text 7.71:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.72:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #5241ac ≈ 0.001% of males
Protanopia #005af9 ≈ 1.01% of males
Deuteranopia #004af1 ≈ 1.27% of males
Tritanopia #006590 ≈ 0.0001% of males
Protanomaly #0047f7 ≈ 1.08% of males
Deuteranomaly #003bf2 ≈ 4.63% of males
Tritanomaly #0050c0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-520df4 {
  color: #520df4;
}
Background
.bg-520df4 {
  background-color: #520df4;
  color: #ffffff;
}
Border
.border-520df4 {
  border: 2px solid #520df4;
}
CSS variables
:root {
  --color-primary: #520df4;
  --color-primary-rgb: 82 13 244;
  --color-primary-hsl: 258 91% 50%;
}
Gradient
.gradient-520df4 {
  background: linear-gradient(135deg, #520df4, #c50df4);
}
Colored shadow
.shadow-520df4 {
  box-shadow: 0 8px 24px rgb(82 13 244 / 0.35);
}

Han Purple
#520df4  rgb(82, 13, 244)  hsl(258, 91%, 50%)  Han Purple
#aff40d  rgb(175, 244, 13)  hsl(78, 91%, 50%)  Spring Bud
#f4520d  rgb(244, 82, 13)  hsl(18, 91%, 50%)  Tangelo
#0df452  rgb(13, 244, 82)  hsl(138, 91%, 50%)  Spring Green