#511CD4

#511cd4 ≈ Han Purple

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

#511cd4 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 83.14% blue; printed in CMYK it uses 61.79% cyan, 86.79% magenta, 0% yellow and 16.86% black. Its hue angle is 257.28°, with 76.67% saturation and 47.06% 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.51:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 4.54.

Description generated from the measured properties of this color.

Conversions of #511cd4 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.0733

Readable text 8.51:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.47:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4d4d4d ≈ 0.003% of males
Achromatomaly #4e3e97 ≈ 0.001% of males
Protanopia #0052d9 ≈ 1.01% of males
Deuteranopia #0046d1 ≈ 1.27% of males
Tritanopia #005a7e ≈ 0.0001% of males
Protanomaly #0042d7 ≈ 1.08% of males
Deuteranomaly #003ad2 ≈ 4.63% of males
Tritanomaly #2b48a7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#511cd4  rgb(81, 28, 212)  hsl(257, 77%, 47%)  Han Purple
#9fd41c  rgb(159, 212, 28)  hsl(77, 77%, 47%)  Yellow Green
#d4511c  rgb(212, 81, 28)  hsl(17, 77%, 47%)  Flame
#1cd451  rgb(28, 212, 81)  hsl(137, 77%, 47%)  Malachite