#5F2CDD

#5f2cdd ≈ Han Purple

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

#5f2cdd is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 37.25% red, 17.25% green and 86.67% blue; printed in CMYK it uses 57.01% cyan, 80.09% magenta, 0% yellow and 13.33% black. Its hue angle is 257.29°, with 72.24% saturation and 51.96% 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.26:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.5.

Description generated from the measured properties of this color.

Conversions of #5f2cdd 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.0945

Readable text 7.26: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 #5a499f ≈ 0.001% of males
Protanopia #005be2 ≈ 1.01% of males
Deuteranopia #0051da ≈ 1.27% of males
Tritanopia #1d6286 ≈ 0.0001% of males
Protanomaly #004ce0 ≈ 1.08% of males
Deuteranomaly #0045db ≈ 4.63% of males
Tritanomaly #4151b0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5f2cdd {
  color: #5f2cdd;
}
Background
.bg-5f2cdd {
  background-color: #5f2cdd;
  color: #ffffff;
}
Border
.border-5f2cdd {
  border: 2px solid #5f2cdd;
}
CSS variables
:root {
  --color-primary: #5f2cdd;
  --color-primary-rgb: 95 44 221;
  --color-primary-hsl: 257 72% 52%;
}
Gradient
.gradient-5f2cdd {
  background: linear-gradient(135deg, #5f2cdd, #b82cdd);
}
Colored shadow
.shadow-5f2cdd {
  box-shadow: 0 8px 24px rgb(95 44 221 / 0.35);
}

Han Purple
#5f2cdd  rgb(95, 44, 221)  hsl(257, 72%, 52%)  Han Purple
#aadd2c  rgb(170, 221, 44)  hsl(77, 72%, 52%)  Yellow Green
#dd5f2c  rgb(221, 95, 44)  hsl(17, 72%, 52%)  Flame
#2cdd5f  rgb(44, 221, 95)  hsl(137, 72%, 52%)  Malachite