#5D2FDB

#5d2fdb ≈ Han Purple

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

#5d2fdb is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 36.47% red, 18.43% green and 85.88% blue; printed in CMYK it uses 57.53% cyan, 78.54% magenta, 0% yellow and 14.12% black. Its hue angle is 256.05°, with 70.49% saturation and 52.16% 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.25:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.81.

Description generated from the measured properties of this color.

Conversions of #5d2fdb 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.0947

Readable text 7.25:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.89:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #575757 ≈ 0.003% of males
Achromatomaly #594a9e ≈ 0.001% of males
Protanopia #005be0 ≈ 1.01% of males
Deuteranopia #0052d8 ≈ 1.27% of males
Tritanopia #176285 ≈ 0.0001% of males
Protanomaly #004dde ≈ 1.08% of males
Deuteranomaly #0046d9 ≈ 4.63% of males
Tritanomaly #3f52ae ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5d2fdb {
  color: #5d2fdb;
}
Background
.bg-5d2fdb {
  background-color: #5d2fdb;
  color: #ffffff;
}
Border
.border-5d2fdb {
  border: 2px solid #5d2fdb;
}
CSS variables
:root {
  --color-primary: #5d2fdb;
  --color-primary-rgb: 93 47 219;
  --color-primary-hsl: 256 70% 52%;
}
Gradient
.gradient-5d2fdb {
  background: linear-gradient(135deg, #5d2fdb, #b32fdb);
}
Colored shadow
.shadow-5d2fdb {
  box-shadow: 0 8px 24px rgb(93 47 219 / 0.35);
}

Han Purple
#5d2fdb  rgb(93, 47, 219)  hsl(256, 70%, 52%)  Han Purple
#addb2f  rgb(173, 219, 47)  hsl(76, 70%, 52%)  June Bud
#db5d2f  rgb(219, 93, 47)  hsl(16, 70%, 52%)  Flame
#2fdb5d  rgb(47, 219, 93)  hsl(136, 70%, 52%)  Malachite