#5A2BDA

#5a2bda ≈ Han Purple

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

#5a2bda is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 35.29% red, 16.86% green and 85.49% blue; printed in CMYK it uses 58.72% cyan, 80.28% magenta, 0% yellow and 14.51% black. Its hue angle is 256.11°, with 70.28% saturation and 51.18% 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 7.52:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.61.

Description generated from the measured properties of this color.

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

Readable text 7.52:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.79:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #545454 ≈ 0.003% of males
Achromatomaly #57479c ≈ 0.001% of males
Protanopia #0059df ≈ 1.01% of males
Deuteranopia #004fd7 ≈ 1.27% of males
Tritanopia #046084 ≈ 0.0001% of males
Protanomaly #004bdd ≈ 1.08% of males
Deuteranomaly #0043d8 ≈ 4.63% of males
Tritanomaly #3950ad ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5a2bda {
  color: #5a2bda;
}
Background
.bg-5a2bda {
  background-color: #5a2bda;
  color: #ffffff;
}
Border
.border-5a2bda {
  border: 2px solid #5a2bda;
}
CSS variables
:root {
  --color-primary: #5a2bda;
  --color-primary-rgb: 90 43 218;
  --color-primary-hsl: 256 70% 51%;
}
Gradient
.gradient-5a2bda {
  background: linear-gradient(135deg, #5a2bda, #b12bda);
}
Colored shadow
.shadow-5a2bda {
  box-shadow: 0 8px 24px rgb(90 43 218 / 0.35);
}

Han Purple
#5a2bda  rgb(90, 43, 218)  hsl(256, 70%, 51%)  Han Purple
#abda2b  rgb(171, 218, 43)  hsl(76, 70%, 51%)  Yellow Green
#da5a2b  rgb(218, 90, 43)  hsl(16, 70%, 51%)  Flame
#2bda5a  rgb(43, 218, 90)  hsl(136, 70%, 51%)  Malachite