#511ECC

#511ecc ≈ Han Purple

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

#511ecc is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 31.76% red, 11.76% green and 80% blue; printed in CMYK it uses 60.29% cyan, 85.29% magenta, 0% yellow and 20% black. Its hue angle is 257.59°, with 74.36% saturation and 45.88% 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 8.72:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 5.46.

Description generated from the measured properties of this color.

Conversions of #511ecc 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.0704

Readable text 8.72:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.41:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4b4b4b ≈ 0.003% of males
Achromatomaly #4d3e91 ≈ 0.001% of males
Protanopia #0050d1 ≈ 1.01% of males
Deuteranopia #0046c9 ≈ 1.27% of males
Tritanopia #005779 ≈ 0.0001% of males
Protanomaly #0041cf ≈ 1.08% of males
Deuteranomaly #0039ca ≈ 4.63% of males
Tritanomaly #3046a1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-511ecc {
  color: #511ecc;
}
Background
.bg-511ecc {
  background-color: #511ecc;
  color: #ffffff;
}
Border
.border-511ecc {
  border: 2px solid #511ecc;
}
CSS variables
:root {
  --color-primary: #511ecc;
  --color-primary-rgb: 81 30 204;
  --color-primary-hsl: 258 74% 46%;
}
Gradient
.gradient-511ecc {
  background: linear-gradient(135deg, #511ecc, #a81ecc);
}
Colored shadow
.shadow-511ecc {
  box-shadow: 0 8px 24px rgb(81 30 204 / 0.35);
}

Han Purple
#511ecc  rgb(81, 30, 204)  hsl(258, 74%, 46%)  Han Purple
#99cc1e  rgb(153, 204, 30)  hsl(78, 74%, 46%)  Yellow Green
#cc511e  rgb(204, 81, 30)  hsl(18, 74%, 46%)  Sinopia
#1ecc51  rgb(30, 204, 81)  hsl(138, 74%, 46%)  Malachite