#5D18CD

#5d18cd ≈ Han Purple

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#5d18cd is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 36.47% red, 9.41% green and 80.39% blue; printed in CMYK it uses 54.63% cyan, 88.29% magenta, 0% yellow and 19.61% black. Its hue angle is 262.87°, with 79.04% saturation and 44.9% 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 brand accents. White text on this color reaches a contrast ratio of 8.48:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 5.37.

Description generated from the measured properties of this color.

Conversions of #5d18cd 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.0739

Readable text 8.48:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.48:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4d4d4d ≈ 0.003% of males
Achromatomaly #543e92 ≈ 0.001% of males
Protanopia #0050d2 ≈ 1.01% of males
Deuteranopia #0049ca ≈ 1.27% of males
Tritanopia #2e5579 ≈ 0.0001% of males
Protanomaly #0040d0 ≈ 1.08% of males
Deuteranomaly #003bcb ≈ 4.63% of males
Tritanomaly #4544a2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#5d18cd  rgb(93, 24, 205)  hsl(263, 79%, 45%)  Han Purple
#88cd18  rgb(136, 205, 24)  hsl(83, 79%, 45%)  Yellow Green
#cd5d18  rgb(205, 93, 24)  hsl(23, 79%, 45%)  Burnt Orange
#18cd5d  rgb(24, 205, 93)  hsl(143, 79%, 45%)  Malachite