#511DE2

#511de2 ≈ Han Purple

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

#511de2 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 88.63% blue; printed in CMYK it uses 64.16% cyan, 87.17% magenta, 0% yellow and 11.37% black. Its hue angle is 255.84°, with 77.25% saturation and 50% 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:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.78.

Description generated from the measured properties of this color.

Conversions of #511de2 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.0812

Readable text 8:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.62:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #505050 ≈ 0.003% of males
Achromatomaly #5141a0 ≈ 0.001% of males
Protanopia #0057e7 ≈ 1.01% of males
Deuteranopia #0049df ≈ 1.27% of males
Tritanopia #006086 ≈ 0.0001% of males
Protanomaly #0046e5 ≈ 1.08% of males
Deuteranomaly #003ce0 ≈ 4.63% of males
Tritanomaly #1e4eb3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#511de2  rgb(81, 29, 226)  hsl(256, 77%, 50%)  Han Purple
#aee21d  rgb(174, 226, 29)  hsl(76, 77%, 50%)  Inchworm
#e2511d  rgb(226, 81, 29)  hsl(16, 77%, 50%)  Flame
#1de251  rgb(29, 226, 81)  hsl(136, 77%, 50%)  Malachite