#511BDF

#511bdf ≈ Han Purple

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

#511bdf 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.59% green and 87.45% blue; printed in CMYK it uses 63.68% cyan, 87.89% magenta, 0% yellow and 12.55% black. Its hue angle is 256.53°, with 78.4% saturation and 49.02% 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.16:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.22.

Description generated from the measured properties of this color.

Conversions of #511bdf 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.0786

Readable text 8.16:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.57:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4f4f4f ≈ 0.003% of males
Achromatomaly #50409e ≈ 0.001% of males
Protanopia #0055e4 ≈ 1.01% of males
Deuteranopia #0048dc ≈ 1.27% of males
Tritanopia #005e84 ≈ 0.0001% of males
Protanomaly #0045e2 ≈ 1.08% of males
Deuteranomaly #003bdd ≈ 4.63% of males
Tritanomaly #214cb0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-511bdf {
  color: #511bdf;
}
Background
.bg-511bdf {
  background-color: #511bdf;
  color: #ffffff;
}
Border
.border-511bdf {
  border: 2px solid #511bdf;
}
CSS variables
:root {
  --color-primary: #511bdf;
  --color-primary-rgb: 81 27 223;
  --color-primary-hsl: 257 78% 49%;
}
Gradient
.gradient-511bdf {
  background: linear-gradient(135deg, #511bdf, #b31bdf);
}
Colored shadow
.shadow-511bdf {
  box-shadow: 0 8px 24px rgb(81 27 223 / 0.35);
}

Han Purple
#511bdf  rgb(81, 27, 223)  hsl(257, 78%, 49%)  Han Purple
#a9df1b  rgb(169, 223, 27)  hsl(77, 78%, 49%)  Yellow Green
#df511b  rgb(223, 81, 27)  hsl(17, 78%, 49%)  Flame
#1bdf51  rgb(27, 223, 81)  hsl(137, 78%, 49%)  Malachite