#5B2CD2

#5b2cd2 ≈ Han Purple

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

#5b2cd2 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.25% green and 82.35% blue; printed in CMYK it uses 56.67% cyan, 79.05% magenta, 0% yellow and 17.65% black. Its hue angle is 256.99°, with 65.35% saturation and 49.8% 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.68:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 4.52.

Description generated from the measured properties of this color.

Conversions of #5b2cd2 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.0868

Readable text 7.68:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.74:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #564797 ≈ 0.001% of males
Protanopia #0057d7 ≈ 1.01% of males
Deuteranopia #004ecf ≈ 1.27% of males
Tritanopia #205d7f ≈ 0.0001% of males
Protanomaly #0049d5 ≈ 1.08% of males
Deuteranomaly #0043d0 ≈ 4.63% of males
Tritanomaly #3f4ea7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5b2cd2 {
  color: #5b2cd2;
}
Background
.bg-5b2cd2 {
  background-color: #5b2cd2;
  color: #ffffff;
}
Border
.border-5b2cd2 {
  border: 2px solid #5b2cd2;
}
CSS variables
:root {
  --color-primary: #5b2cd2;
  --color-primary-rgb: 91 44 210;
  --color-primary-hsl: 257 65% 50%;
}
Gradient
.gradient-5b2cd2 {
  background: linear-gradient(135deg, #5b2cd2, #ae2cd2);
}
Colored shadow
.shadow-5b2cd2 {
  box-shadow: 0 8px 24px rgb(91 44 210 / 0.35);
}

Han Purple
#5b2cd2  rgb(91, 44, 210)  hsl(257, 65%, 50%)  Han Purple
#a3d22c  rgb(163, 210, 44)  hsl(77, 65%, 50%)  Yellow Green
#d25b2c  rgb(210, 91, 44)  hsl(17, 65%, 50%)  Flame
#2cd25b  rgb(44, 210, 91)  hsl(137, 65%, 50%)  Malachite