#5B2DFB

#5b2dfb ≈ Han Purple

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

#5b2dfb 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 98.43% blue; printed in CMYK it uses 63.75% cyan, 82.07% magenta, 0% yellow and 1.57% black. Its hue angle is 253.4°, with 96.26% saturation and 58.04% 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.54:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 2.89.

Description generated from the measured properties of this color.

Conversions of #5b2dfb 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.1107

Readable text 6.54:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.21:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5d5d5d ≈ 0.003% of males
Achromatomaly #5d4eb3 ≈ 0.001% of males
Protanopia #0064ff ≈ 1.01% of males
Deuteranopia #0056f8 ≈ 1.27% of males
Tritanopia #006f98 ≈ 0.0001% of males
Protanomaly #0053fe ≈ 1.08% of males
Deuteranomaly #0049f9 ≈ 4.63% of males
Tritanomaly #225bc7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5b2dfb {
  color: #5b2dfb;
}
Background
.bg-5b2dfb {
  background-color: #5b2dfb;
  color: #ffffff;
}
Border
.border-5b2dfb {
  border: 2px solid #5b2dfb;
}
CSS variables
:root {
  --color-primary: #5b2dfb;
  --color-primary-rgb: 91 45 251;
  --color-primary-hsl: 253 96% 58%;
}
Gradient
.gradient-5b2dfb {
  background: linear-gradient(135deg, #5b2dfb, #c22dfb);
}
Colored shadow
.shadow-5b2dfb {
  box-shadow: 0 8px 24px rgb(91 45 251 / 0.35);
}

Han Purple
#5b2dfb  rgb(91, 45, 251)  hsl(253, 96%, 58%)  Han Purple
#cdfb2d  rgb(205, 251, 45)  hsl(73, 96%, 58%)  Electric Lime
#fb5b2d  rgb(251, 91, 45)  hsl(13, 96%, 58%)  International Orange
#2dfb5b  rgb(45, 251, 91)  hsl(133, 96%, 58%)  Spring Green