#511AED

#511aed ≈ Han Purple

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

#511aed 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.2% green and 92.94% blue; printed in CMYK it uses 65.82% cyan, 89.03% magenta, 0% yellow and 7.06% black. Its hue angle is 255.64°, with 85.43% saturation and 51.57% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 7.72:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.54.

Description generated from the measured properties of this color.

Conversions of #511aed into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6633ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.086

Readable text 7.72:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.72:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #5243a8 ≈ 0.001% of males
Protanopia #005af2 ≈ 1.01% of males
Deuteranopia #004bea ≈ 1.27% of males
Tritanopia #00648d ≈ 0.0001% of males
Protanomaly #0048f0 ≈ 1.08% of males
Deuteranomaly #003deb ≈ 4.63% of males
Tritanomaly #0c50bb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-511aed {
  color: #511aed;
}
Background
.bg-511aed {
  background-color: #511aed;
  color: #ffffff;
}
Border
.border-511aed {
  border: 2px solid #511aed;
}
CSS variables
:root {
  --color-primary: #511aed;
  --color-primary-rgb: 81 26 237;
  --color-primary-hsl: 256 85% 52%;
}
Gradient
.gradient-511aed {
  background: linear-gradient(135deg, #511aed, #bb1aed);
}
Colored shadow
.shadow-511aed {
  box-shadow: 0 8px 24px rgb(81 26 237 / 0.35);
}

Han Purple
#511aed  rgb(81, 26, 237)  hsl(256, 85%, 52%)  Han Purple
#b6ed1a  rgb(182, 237, 26)  hsl(76, 85%, 52%)  Spring Bud
#ed511a  rgb(237, 81, 26)  hsl(16, 85%, 52%)  Flame
#1aed51  rgb(26, 237, 81)  hsl(136, 85%, 52%)  Malachite