#5D18FA

#5d18fa ≈ Han Purple

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

#5d18fa is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 36.47% red, 9.41% green and 98.04% blue; printed in CMYK it uses 62.8% cyan, 90.4% magenta, 0% yellow and 1.96% black. Its hue angle is 258.32°, with 95.76% saturation and 53.73% 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.06:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.11.

Description generated from the measured properties of this color.

Conversions of #5d18fa 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.0988

Readable text 7.06:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.98:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #595959 ≈ 0.003% of males
Achromatomaly #5a47b1 ≈ 0.001% of males
Protanopia #005fff ≈ 1.01% of males
Deuteranopia #0051f6 ≈ 1.27% of males
Tritanopia #006994 ≈ 0.0001% of males
Protanomaly #004cfd ≈ 1.08% of males
Deuteranomaly #0041f8 ≈ 4.63% of males
Tritanomaly #2a54c5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5d18fa {
  color: #5d18fa;
}
Background
.bg-5d18fa {
  background-color: #5d18fa;
  color: #ffffff;
}
Border
.border-5d18fa {
  border: 2px solid #5d18fa;
}
CSS variables
:root {
  --color-primary: #5d18fa;
  --color-primary-rgb: 93 24 250;
  --color-primary-hsl: 258 96% 54%;
}
Gradient
.gradient-5d18fa {
  background: linear-gradient(135deg, #5d18fa, #ce18fa);
}
Colored shadow
.shadow-5d18fa {
  box-shadow: 0 8px 24px rgb(93 24 250 / 0.35);
}

Han Purple
#5d18fa  rgb(93, 24, 250)  hsl(258, 96%, 54%)  Han Purple
#b5fa18  rgb(181, 250, 24)  hsl(78, 96%, 54%)  Spring Bud
#fa5d18  rgb(250, 93, 24)  hsl(18, 96%, 54%)  International Orange
#18fa5d  rgb(24, 250, 93)  hsl(138, 96%, 54%)  Spring Green