#511FDF

#511fdf ≈ Han Purple

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

#511fdf is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 31.76% red, 12.16% green and 87.45% blue; printed in CMYK it uses 63.68% cyan, 86.1% magenta, 0% yellow and 12.55% black. Its hue angle is 255.63°, with 75.59% saturation and 49.8% 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.04:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.08.

Description generated from the measured properties of this color.

Conversions of #511fdf 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.0806

Readable text 8.04:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.61:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #505050 ≈ 0.003% of males
Achromatomaly #51429e ≈ 0.001% of males
Protanopia #0056e4 ≈ 1.01% of males
Deuteranopia #0049dc ≈ 1.27% of males
Tritanopia #005f85 ≈ 0.0001% of males
Protanomaly #0046e2 ≈ 1.08% of males
Deuteranomaly #003cdd ≈ 4.63% of males
Tritanomaly #214db0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#511fdf  rgb(81, 31, 223)  hsl(256, 76%, 50%)  Han Purple
#addf1f  rgb(173, 223, 31)  hsl(76, 76%, 50%)  June Bud
#df511f  rgb(223, 81, 31)  hsl(16, 76%, 50%)  Flame
#1fdf51  rgb(31, 223, 81)  hsl(136, 76%, 50%)  Malachite