#511DE5

#511de5 ≈ Han Purple

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

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

Description generated from the measured properties of this color.

Conversions of #511de5 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.0829

Readable text 7.9:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.66:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

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

Text in this color

Background in this color

Border in this color

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

Han Purple
#511de5  rgb(81, 29, 229)  hsl(256, 79%, 51%)  Han Purple
#b1e51d  rgb(177, 229, 29)  hsl(76, 79%, 51%)  Inchworm
#e5511d  rgb(229, 81, 29)  hsl(16, 79%, 51%)  Flame
#1de551  rgb(29, 229, 81)  hsl(136, 79%, 51%)  Malachite