#5B2DED

#5b2ded ≈ Han Purple

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

#5b2ded is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 35.69% red, 17.65% green and 92.94% blue; printed in CMYK it uses 61.6% cyan, 81.01% magenta, 0% yellow and 7.06% black. Its hue angle is 254.37°, with 84.21% saturation and 55.29% 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.9:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 2.53.

Description generated from the measured properties of this color.

Conversions of #5b2ded 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.1022

Readable text 6.9:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.04:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5a5a5a ≈ 0.003% of males
Achromatomaly #5a4caa ≈ 0.001% of males
Protanopia #0060f2 ≈ 1.01% of males
Deuteranopia #0053ea ≈ 1.27% of males
Tritanopia #00698f ≈ 0.0001% of males
Protanomaly #0050f0 ≈ 1.08% of males
Deuteranomaly #0047eb ≈ 4.63% of males
Tritanomaly #2f57bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5b2ded {
  color: #5b2ded;
}
Background
.bg-5b2ded {
  background-color: #5b2ded;
  color: #ffffff;
}
Border
.border-5b2ded {
  border: 2px solid #5b2ded;
}
CSS variables
:root {
  --color-primary: #5b2ded;
  --color-primary-rgb: 91 45 237;
  --color-primary-hsl: 254 84% 55%;
}
Gradient
.gradient-5b2ded {
  background: linear-gradient(135deg, #5b2ded, #bb2ded);
}
Colored shadow
.shadow-5b2ded {
  box-shadow: 0 8px 24px rgb(91 45 237 / 0.35);
}

Han Purple
#5b2ded  rgb(91, 45, 237)  hsl(254, 84%, 55%)  Han Purple
#bfed2d  rgb(191, 237, 45)  hsl(74, 84%, 55%)  Electric Lime
#ed5b2d  rgb(237, 91, 45)  hsl(14, 84%, 55%)  Flame
#2ded5b  rgb(45, 237, 91)  hsl(134, 84%, 55%)  Malachite