#5D0CD4

#5d0cd4 ≈ Han Purple

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

#5d0cd4 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 36.47% red, 4.71% green and 83.14% blue; printed in CMYK it uses 56.13% cyan, 94.34% magenta, 0% yellow and 16.86% black. Its hue angle is 264.3°, with 89.29% saturation and 43.92% 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 8.51:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 4.89.

Description generated from the measured properties of this color.

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

Readable text 8.51:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.47:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4d4d4d ≈ 0.003% of males
Achromatomaly #543c97 ≈ 0.001% of males
Protanopia #0050d9 ≈ 1.01% of males
Deuteranopia #0048d1 ≈ 1.27% of males
Tritanopia #26567c ≈ 0.0001% of males
Protanomaly #003fd7 ≈ 1.08% of males
Deuteranomaly #0038d2 ≈ 4.63% of males
Tritanomaly #4343a7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5d0cd4 {
  color: #5d0cd4;
}
Background
.bg-5d0cd4 {
  background-color: #5d0cd4;
  color: #ffffff;
}
Border
.border-5d0cd4 {
  border: 2px solid #5d0cd4;
}
CSS variables
:root {
  --color-primary: #5d0cd4;
  --color-primary-rgb: 93 12 212;
  --color-primary-hsl: 264 89% 44%;
}
Gradient
.gradient-5d0cd4 {
  background: linear-gradient(135deg, #5d0cd4, #c10cd4);
}
Colored shadow
.shadow-5d0cd4 {
  box-shadow: 0 8px 24px rgb(93 12 212 / 0.35);
}

Han Purple
#5d0cd4  rgb(93, 12, 212)  hsl(264, 89%, 44%)  Han Purple
#83d40c  rgb(131, 212, 12)  hsl(84, 89%, 44%)  Yellow Green
#d45d0c  rgb(212, 93, 12)  hsl(24, 89%, 44%)  Burnt Orange
#0cd45d  rgb(12, 212, 93)  hsl(144, 89%, 44%)  Malachite