#511CFB

#511cfb ≈ Han Purple

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

#511cfb 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.98% green and 98.43% blue; printed in CMYK it uses 67.73% cyan, 88.84% magenta, 0% yellow and 1.57% black. Its hue angle is 254.26°, with 96.54% saturation and 54.71% 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.22:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 0.42.

Description generated from the measured properties of this color.

Conversions of #511cfb 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.0954

Readable text 7.22:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.91:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #575757 ≈ 0.003% of males
Achromatomaly #5546b2 ≈ 0.001% of males
Protanopia #005fff ≈ 1.01% of males
Deuteranopia #004ef7 ≈ 1.27% of males
Tritanopia #006b95 ≈ 0.0001% of males
Protanomaly #004cfe ≈ 1.08% of males
Deuteranomaly #0040f9 ≈ 4.63% of males
Tritanomaly #0056c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#511cfb  rgb(81, 28, 251)  hsl(254, 97%, 55%)  Han Purple
#c6fb1c  rgb(198, 251, 28)  hsl(74, 97%, 55%)  Electric Lime
#fb511c  rgb(251, 81, 28)  hsl(14, 97%, 55%)  Orange Red
#1cfb51  rgb(28, 251, 81)  hsl(134, 97%, 55%)  Lime