#5F2DCC

#5f2dcc ≈ Han Purple

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

#5f2dcc 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.65% green and 80% blue; printed in CMYK it uses 53.43% cyan, 77.94% magenta, 0% yellow and 20% black. Its hue angle is 258.87°, with 63.86% saturation and 48.82% 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 5.3.

Description generated from the measured properties of this color.

Conversions of #5f2dcc 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.0867

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

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #584793 ≈ 0.001% of males
Protanopia #0056d0 ≈ 1.01% of males
Deuteranopia #004fc9 ≈ 1.27% of males
Tritanopia #335b7c ≈ 0.0001% of males
Protanomaly #0049cf ≈ 1.08% of males
Deuteranomaly #0644ca ≈ 4.63% of males
Tritanomaly #494da2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5f2dcc {
  color: #5f2dcc;
}
Background
.bg-5f2dcc {
  background-color: #5f2dcc;
  color: #ffffff;
}
Border
.border-5f2dcc {
  border: 2px solid #5f2dcc;
}
CSS variables
:root {
  --color-primary: #5f2dcc;
  --color-primary-rgb: 95 45 204;
  --color-primary-hsl: 259 64% 49%;
}
Gradient
.gradient-5f2dcc {
  background: linear-gradient(135deg, #5f2dcc, #ae2dcc);
}
Colored shadow
.shadow-5f2dcc {
  box-shadow: 0 8px 24px rgb(95 45 204 / 0.35);
}

Han Purple
#5f2dcc  rgb(95, 45, 204)  hsl(259, 64%, 49%)  Han Purple
#9acc2d  rgb(154, 204, 45)  hsl(79, 64%, 49%)  Yellow Green
#cc5f2d  rgb(204, 95, 45)  hsl(19, 64%, 49%)  Flame
#2dcc5f  rgb(45, 204, 95)  hsl(139, 64%, 49%)  Malachite