#5C0DFD

#5c0dfd ≈ Han Purple

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

#5c0dfd is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 36.08% red, 5.1% green and 99.22% blue; printed in CMYK it uses 63.64% cyan, 94.86% magenta, 0% yellow and 0.78% black. Its hue angle is 259.75°, with 98.36% saturation and 52.16% 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.16:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.1.

Description generated from the measured properties of this color.

Conversions of #5c0dfd 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.0966

Readable text 7.16:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.93:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #585858 ≈ 0.003% of males
Achromatomaly #5945b3 ≈ 0.001% of males
Protanopia #005eff ≈ 1.01% of males
Deuteranopia #0050f9 ≈ 1.27% of males
Tritanopia #006995 ≈ 0.0001% of males
Protanomaly #004aff ≈ 1.08% of males
Deuteranomaly #003ffb ≈ 4.63% of males
Tritanomaly #2453c7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5c0dfd {
  color: #5c0dfd;
}
Background
.bg-5c0dfd {
  background-color: #5c0dfd;
  color: #ffffff;
}
Border
.border-5c0dfd {
  border: 2px solid #5c0dfd;
}
CSS variables
:root {
  --color-primary: #5c0dfd;
  --color-primary-rgb: 92 13 253;
  --color-primary-hsl: 260 98% 52%;
}
Gradient
.gradient-5c0dfd {
  background: linear-gradient(135deg, #5c0dfd, #d40dfd);
}
Colored shadow
.shadow-5c0dfd {
  box-shadow: 0 8px 24px rgb(92 13 253 / 0.35);
}

Han Purple
#5c0dfd  rgb(92, 13, 253)  hsl(260, 98%, 52%)  Han Purple
#aefd0d  rgb(174, 253, 13)  hsl(80, 98%, 52%)  Spring Bud
#fd5c0d  rgb(253, 92, 13)  hsl(20, 98%, 52%)  International Orange
#0dfd5c  rgb(13, 253, 92)  hsl(140, 98%, 52%)  Spring Green