#511FF4

#511ff4 ≈ Han Purple

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

#511ff4 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 95.69% blue; printed in CMYK it uses 66.8% cyan, 87.3% magenta, 0% yellow and 4.31% black. Its hue angle is 254.08°, with 90.64% saturation and 53.92% 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.36:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 0.74.

Description generated from the measured properties of this color.

Conversions of #511ff4 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.0926

Readable text 7.36:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.85:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #565656 ≈ 0.003% of males
Achromatomaly #5446ad ≈ 0.001% of males
Protanopia #005df9 ≈ 1.01% of males
Deuteranopia #004df1 ≈ 1.27% of males
Tritanopia #006891 ≈ 0.0001% of males
Protanomaly #004cf7 ≈ 1.08% of males
Deuteranomaly #0040f2 ≈ 4.63% of males
Tritanomaly #0054c1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#511ff4  rgb(81, 31, 244)  hsl(254, 91%, 54%)  Han Purple
#c2f41f  rgb(194, 244, 31)  hsl(74, 91%, 54%)  Electric Lime
#f4511f  rgb(244, 81, 31)  hsl(14, 91%, 54%)  Orange Red
#1ff451  rgb(31, 244, 81)  hsl(134, 91%, 54%)  Lime