#511FDB

#511fdb ≈ Han Purple

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

#511fdb is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 31.76% red, 12.16% green and 85.88% blue; printed in CMYK it uses 63.01% cyan, 85.84% magenta, 0% yellow and 14.12% black. Its hue angle is 255.96°, with 75.2% 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.18:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.57.

Description generated from the measured properties of this color.

Conversions of #511fdb 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.0784

Readable text 8.18: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 #50419c ≈ 0.001% of males
Protanopia #0055e0 ≈ 1.01% of males
Deuteranopia #0049d8 ≈ 1.27% of males
Tritanopia #005e83 ≈ 0.0001% of males
Protanomaly #0045de ≈ 1.08% of males
Deuteranomaly #003cd9 ≈ 4.63% of males
Tritanomaly #254cad ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-511fdb {
  color: #511fdb;
}
Background
.bg-511fdb {
  background-color: #511fdb;
  color: #ffffff;
}
Border
.border-511fdb {
  border: 2px solid #511fdb;
}
CSS variables
:root {
  --color-primary: #511fdb;
  --color-primary-rgb: 81 31 219;
  --color-primary-hsl: 256 75% 49%;
}
Gradient
.gradient-511fdb {
  background: linear-gradient(135deg, #511fdb, #af1fdb);
}
Colored shadow
.shadow-511fdb {
  box-shadow: 0 8px 24px rgb(81 31 219 / 0.35);
}

Han Purple
#511fdb  rgb(81, 31, 219)  hsl(256, 75%, 49%)  Han Purple
#a9db1f  rgb(169, 219, 31)  hsl(76, 75%, 49%)  Yellow Green
#db511f  rgb(219, 81, 31)  hsl(16, 75%, 49%)  Flame
#1fdb51  rgb(31, 219, 81)  hsl(136, 75%, 49%)  Malachite