#511FFC

#511ffc ≈ Han Purple

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

#511ffc 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 98.82% blue; printed in CMYK it uses 67.86% cyan, 87.7% magenta, 0% yellow and 1.18% black. Its hue angle is 253.57°, with 97.36% saturation and 55.49% 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.11:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 0.79.

Description generated from the measured properties of this color.

Conversions of #511ffc 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.0976

Readable text 7.11:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.95:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #585858 ≈ 0.003% of males
Achromatomaly #5548b2 ≈ 0.001% of males
Protanopia #0060ff ≈ 1.01% of males
Deuteranopia #004ff8 ≈ 1.27% of males
Tritanopia #006c96 ≈ 0.0001% of males
Protanomaly #004eff ≈ 1.08% of males
Deuteranomaly #0041fa ≈ 4.63% of males
Tritanomaly #0057c7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-511ffc {
  color: #511ffc;
}
Background
.bg-511ffc {
  background-color: #511ffc;
  color: #ffffff;
}
Border
.border-511ffc {
  border: 2px solid #511ffc;
}
CSS variables
:root {
  --color-primary: #511ffc;
  --color-primary-rgb: 81 31 252;
  --color-primary-hsl: 254 97% 55%;
}
Gradient
.gradient-511ffc {
  background: linear-gradient(135deg, #511ffc, #bf1ffc);
}
Colored shadow
.shadow-511ffc {
  box-shadow: 0 8px 24px rgb(81 31 252 / 0.35);
}

Han Purple
#511ffc  rgb(81, 31, 252)  hsl(254, 97%, 55%)  Han Purple
#cafc1f  rgb(202, 252, 31)  hsl(74, 97%, 55%)  Electric Lime
#fc511f  rgb(252, 81, 31)  hsl(14, 97%, 55%)  Orange Red
#1ffc51  rgb(31, 252, 81)  hsl(134, 97%, 55%)  Lime