#511CFA

#511cfa ≈ Han Purple

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

#511cfa 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.04% blue; printed in CMYK it uses 67.6% cyan, 88.8% magenta, 0% yellow and 1.96% black. Its hue angle is 254.32°, with 95.69% saturation and 54.51% 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.25:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 0.35.

Description generated from the measured properties of this color.

Conversions of #511cfa 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.0948

Readable text 7.25:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.9:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #575757 ≈ 0.003% of males
Achromatomaly #5546b1 ≈ 0.001% of males
Protanopia #005fff ≈ 1.01% of males
Deuteranopia #004ef6 ≈ 1.27% of males
Tritanopia #006a95 ≈ 0.0001% of males
Protanomaly #004cfd ≈ 1.08% of males
Deuteranomaly #003ff8 ≈ 4.63% of males
Tritanomaly #0055c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#511cfa  rgb(81, 28, 250)  hsl(254, 96%, 55%)  Han Purple
#c5fa1c  rgb(197, 250, 28)  hsl(74, 96%, 55%)  Electric Lime
#fa511c  rgb(250, 81, 28)  hsl(14, 96%, 55%)  Orange Red
#1cfa51  rgb(28, 250, 81)  hsl(134, 96%, 55%)  Lime