#511CE5

#511ce5 ≈ Han Purple

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

#511ce5 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 31.76% red, 10.98% green and 89.8% blue; printed in CMYK it uses 64.63% cyan, 87.77% magenta, 0% yellow and 10.2% black. Its hue angle is 255.82°, with 79.45% saturation and 50.39% 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 7.93:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.45.

Description generated from the measured properties of this color.

Conversions of #511ce5 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.0824

Readable text 7.93:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.65:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #515151 ≈ 0.003% of males
Achromatomaly #5142a2 ≈ 0.001% of males
Protanopia #0057ea ≈ 1.01% of males
Deuteranopia #004ae2 ≈ 1.27% of males
Tritanopia #006188 ≈ 0.0001% of males
Protanomaly #0047e8 ≈ 1.08% of males
Deuteranomaly #003ce3 ≈ 4.63% of males
Tritanomaly #1a4eb5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-511ce5 {
  color: #511ce5;
}
Background
.bg-511ce5 {
  background-color: #511ce5;
  color: #ffffff;
}
Border
.border-511ce5 {
  border: 2px solid #511ce5;
}
CSS variables
:root {
  --color-primary: #511ce5;
  --color-primary-rgb: 81 28 229;
  --color-primary-hsl: 256 79% 50%;
}
Gradient
.gradient-511ce5 {
  background: linear-gradient(135deg, #511ce5, #b51ce5);
}
Colored shadow
.shadow-511ce5 {
  box-shadow: 0 8px 24px rgb(81 28 229 / 0.35);
}

Han Purple
#511ce5  rgb(81, 28, 229)  hsl(256, 79%, 50%)  Han Purple
#b0e51c  rgb(176, 229, 28)  hsl(76, 79%, 50%)  Inchworm
#e5511c  rgb(229, 81, 28)  hsl(16, 79%, 50%)  Flame
#1ce551  rgb(28, 229, 81)  hsl(136, 79%, 50%)  Malachite