#5B2DCA

#5b2dca ≈ Han Purple

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

#5b2dca is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 35.69% red, 17.65% green and 79.22% blue; printed in CMYK it uses 54.95% cyan, 77.72% magenta, 0% yellow and 20.78% black. Its hue angle is 257.58°, with 63.56% saturation and 48.43% 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.86:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 5.47.

Description generated from the measured properties of this color.

Conversions of #5b2dca 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.0837

Readable text 7.86:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.67:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #564692 ≈ 0.001% of males
Protanopia #0055ce ≈ 1.01% of males
Deuteranopia #004dc7 ≈ 1.27% of males
Tritanopia #2b5a7b ≈ 0.0001% of males
Protanomaly #0048cd ≈ 1.08% of males
Deuteranomaly #0043c8 ≈ 4.63% of males
Tritanomaly #434ca1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5b2dca {
  color: #5b2dca;
}
Background
.bg-5b2dca {
  background-color: #5b2dca;
  color: #ffffff;
}
Border
.border-5b2dca {
  border: 2px solid #5b2dca;
}
CSS variables
:root {
  --color-primary: #5b2dca;
  --color-primary-rgb: 91 45 202;
  --color-primary-hsl: 258 64% 48%;
}
Gradient
.gradient-5b2dca {
  background: linear-gradient(135deg, #5b2dca, #a92dca);
}
Colored shadow
.shadow-5b2dca {
  box-shadow: 0 8px 24px rgb(91 45 202 / 0.35);
}

Han Purple
#5b2dca  rgb(91, 45, 202)  hsl(258, 64%, 48%)  Han Purple
#9cca2d  rgb(156, 202, 45)  hsl(78, 64%, 48%)  Yellow Green
#ca5b2d  rgb(202, 91, 45)  hsl(18, 64%, 48%)  Flame
#2dca5b  rgb(45, 202, 91)  hsl(138, 64%, 48%)  Malachite