#511DEC

#511dec ≈ Han Purple

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

#511dec is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 31.76% red, 11.37% green and 92.55% blue; printed in CMYK it uses 65.68% cyan, 87.71% magenta, 0% yellow and 7.45% black. Its hue angle is 255.07°, with 84.49% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 7.67:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.58.

Description generated from the measured properties of this color.

Conversions of #511dec 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.0868

Readable text 7.67:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.74:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #5244a7 ≈ 0.001% of males
Protanopia #005af1 ≈ 1.01% of males
Deuteranopia #004be9 ≈ 1.27% of males
Tritanopia #00658c ≈ 0.0001% of males
Protanomaly #0049ef ≈ 1.08% of males
Deuteranomaly #003eea ≈ 4.63% of males
Tritanomaly #0e51ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-511dec {
  color: #511dec;
}
Background
.bg-511dec {
  background-color: #511dec;
  color: #ffffff;
}
Border
.border-511dec {
  border: 2px solid #511dec;
}
CSS variables
:root {
  --color-primary: #511dec;
  --color-primary-rgb: 81 29 236;
  --color-primary-hsl: 255 84% 52%;
}
Gradient
.gradient-511dec {
  background: linear-gradient(135deg, #511dec, #b81dec);
}
Colored shadow
.shadow-511dec {
  box-shadow: 0 8px 24px rgb(81 29 236 / 0.35);
}

Han Purple
#511dec  rgb(81, 29, 236)  hsl(255, 84%, 52%)  Han Purple
#b8ec1d  rgb(184, 236, 29)  hsl(75, 84%, 52%)  Electric Lime
#ec511d  rgb(236, 81, 29)  hsl(15, 84%, 52%)  Flame
#1dec51  rgb(29, 236, 81)  hsl(135, 84%, 52%)  Malachite