#5A18CD

#5a18cd ≈ Han Purple

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

#5a18cd is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 35.29% red, 9.41% green and 80.39% blue; printed in CMYK it uses 56.1% cyan, 88.29% magenta, 0% yellow and 19.61% black. Its hue angle is 261.88°, 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.58:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 5.38.

Description generated from the measured properties of this color.

Conversions of #5a18cd 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.0723

Readable text 8.58:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.45:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4c4c4c ≈ 0.003% of males
Achromatomaly #523d92 ≈ 0.001% of males
Protanopia #0050d2 ≈ 1.01% of males
Deuteranopia #0047ca ≈ 1.27% of males
Tritanopia #255579 ≈ 0.0001% of males
Protanomaly #0040d0 ≈ 1.08% of males
Deuteranomaly #003acb ≈ 4.63% of males
Tritanomaly #4044a2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#5a18cd  rgb(90, 24, 205)  hsl(262, 79%, 45%)  Han Purple
#8bcd18  rgb(139, 205, 24)  hsl(82, 79%, 45%)  Yellow Green
#cd5a18  rgb(205, 90, 24)  hsl(22, 79%, 45%)  Burnt Orange
#18cd5a  rgb(24, 205, 90)  hsl(142, 79%, 45%)  Malachite