#511CDB

#511cdb ≈ Han Purple

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

#511cdb is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 31.76% red, 10.98% green and 85.88% blue; printed in CMYK it uses 63.01% cyan, 87.21% magenta, 0% yellow and 14.12% black. Its hue angle is 256.65°, with 77.33% saturation and 48.43% 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.27:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.67.

Description generated from the measured properties of this color.

Conversions of #511cdb 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.0769

Readable text 8.27:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.54:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4e4e4e ≈ 0.003% of males
Achromatomaly #4f409b ≈ 0.001% of males
Protanopia #0054e0 ≈ 1.01% of males
Deuteranopia #0048d8 ≈ 1.27% of males
Tritanopia #005d82 ≈ 0.0001% of males
Protanomaly #0044de ≈ 1.08% of males
Deuteranomaly #003bd9 ≈ 4.63% of males
Tritanomaly #254bad ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-511cdb {
  color: #511cdb;
}
Background
.bg-511cdb {
  background-color: #511cdb;
  color: #ffffff;
}
Border
.border-511cdb {
  border: 2px solid #511cdb;
}
CSS variables
:root {
  --color-primary: #511cdb;
  --color-primary-rgb: 81 28 219;
  --color-primary-hsl: 257 77% 48%;
}
Gradient
.gradient-511cdb {
  background: linear-gradient(135deg, #511cdb, #b01cdb);
}
Colored shadow
.shadow-511cdb {
  box-shadow: 0 8px 24px rgb(81 28 219 / 0.35);
}

Han Purple
#511cdb  rgb(81, 28, 219)  hsl(257, 77%, 48%)  Han Purple
#a6db1c  rgb(166, 219, 28)  hsl(77, 77%, 48%)  Yellow Green
#db511c  rgb(219, 81, 28)  hsl(17, 77%, 48%)  Flame
#1cdb51  rgb(28, 219, 81)  hsl(137, 77%, 48%)  Malachite