#511CD7

#511cd7 ≈ Han Purple

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

#511cd7 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 84.31% blue; printed in CMYK it uses 62.33% cyan, 86.98% magenta, 0% yellow and 15.69% black. Its hue angle is 257.01°, with 76.95% saturation and 47.65% 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.41:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 4.16.

Description generated from the measured properties of this color.

Conversions of #511cd7 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.0749

Readable text 8.41:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.5:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4d4d4d ≈ 0.003% of males
Achromatomaly #4f3f99 ≈ 0.001% of males
Protanopia #0053dc ≈ 1.01% of males
Deuteranopia #0047d4 ≈ 1.27% of males
Tritanopia #005b80 ≈ 0.0001% of males
Protanomaly #0043da ≈ 1.08% of males
Deuteranomaly #003ad5 ≈ 4.63% of males
Tritanomaly #2849aa ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#511cd7  rgb(81, 28, 215)  hsl(257, 77%, 48%)  Han Purple
#a2d71c  rgb(162, 215, 28)  hsl(77, 77%, 48%)  Yellow Green
#d7511c  rgb(215, 81, 28)  hsl(17, 77%, 48%)  Flame
#1cd751  rgb(28, 215, 81)  hsl(137, 77%, 48%)  Malachite