#511ED2

#511ed2 ≈ Han Purple

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

#511ed2 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 31.76% red, 11.76% green and 82.35% blue; printed in CMYK it uses 61.43% cyan, 85.71% magenta, 0% yellow and 17.65% black. Its hue angle is 257°, with 75% 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.52:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 4.71.

Description generated from the measured properties of this color.

Conversions of #511ed2 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.52: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 #4e3f95 ≈ 0.001% of males
Protanopia #0052d7 ≈ 1.01% of males
Deuteranopia #0047cf ≈ 1.27% of males
Tritanopia #00597d ≈ 0.0001% of males
Protanomaly #0043d5 ≈ 1.08% of males
Deuteranomaly #003ad0 ≈ 4.63% of males
Tritanomaly #2c48a6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#511ed2  rgb(81, 30, 210)  hsl(257, 75%, 47%)  Han Purple
#9fd21e  rgb(159, 210, 30)  hsl(77, 75%, 47%)  Yellow Green
#d2511e  rgb(210, 81, 30)  hsl(17, 75%, 47%)  Flame
#1ed251  rgb(30, 210, 81)  hsl(137, 75%, 47%)  Malachite