#511AFA

#511afa ≈ Han Purple

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

#511afa 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.2% green and 98.04% blue; printed in CMYK it uses 67.6% cyan, 89.6% magenta, 0% yellow and 1.96% black. Its hue angle is 254.73°, with 95.73% saturation and 54.12% 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.3:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 0.18.

Description generated from the measured properties of this color.

Conversions of #511afa 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.0939

Readable text 7.3:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.88:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #565656 ≈ 0.003% of males
Achromatomaly #5446b1 ≈ 0.001% of males
Protanopia #005eff ≈ 1.01% of males
Deuteranopia #004ef6 ≈ 1.27% of males
Tritanopia #006a94 ≈ 0.0001% of males
Protanomaly #004cfd ≈ 1.08% of males
Deuteranomaly #003ff8 ≈ 4.63% of males
Tritanomaly #0055c5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#511afa  rgb(81, 26, 250)  hsl(255, 96%, 54%)  Han Purple
#c3fa1a  rgb(195, 250, 26)  hsl(75, 96%, 54%)  Electric Lime
#fa511a  rgb(250, 81, 26)  hsl(15, 96%, 54%)  Orange Red
#1afa51  rgb(26, 250, 81)  hsl(135, 96%, 54%)  Lime