#5A35FA

#5a35fa ≈ Han Purple

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

#5a35fa is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 35.29% red, 20.78% green and 98.04% blue; printed in CMYK it uses 64% cyan, 78.8% magenta, 0% yellow and 1.96% black. Its hue angle is 251.27°, with 95.17% saturation and 59.41% 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 6.32:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 4.02.

Description generated from the measured properties of this color.

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

Readable text 6.32:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.32:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #606060 ≈ 0.003% of males
Achromatomaly #5d52b3 ≈ 0.001% of males
Protanopia #0067ff ≈ 1.01% of males
Deuteranopia #0058f7 ≈ 1.27% of males
Tritanopia #007198 ≈ 0.0001% of males
Protanomaly #0057fd ≈ 1.08% of males
Deuteranomaly #004cf8 ≈ 4.63% of males
Tritanomaly #1f5fc7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5a35fa {
  color: #5a35fa;
}
Background
.bg-5a35fa {
  background-color: #5a35fa;
  color: #ffffff;
}
Border
.border-5a35fa {
  border: 2px solid #5a35fa;
}
CSS variables
:root {
  --color-primary: #5a35fa;
  --color-primary-rgb: 90 53 250;
  --color-primary-hsl: 251 95% 59%;
}
Gradient
.gradient-5a35fa {
  background: linear-gradient(135deg, #5a35fa, #bd35fa);
}
Colored shadow
.shadow-5a35fa {
  box-shadow: 0 8px 24px rgb(90 53 250 / 0.35);
}

Han Purple
#5a35fa  rgb(90, 53, 250)  hsl(251, 95%, 59%)  Han Purple
#d5fa35  rgb(213, 250, 53)  hsl(71, 95%, 59%)  Electric Lime
#fa5a35  rgb(250, 90, 53)  hsl(11, 95%, 59%)  Tomato
#35fa5a  rgb(53, 250, 90)  hsl(131, 95%, 59%)  Spring Green