#511FF2

#511ff2 ≈ Han Purple

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

#511ff2 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 94.9% blue; printed in CMYK it uses 66.53% cyan, 87.19% magenta, 0% yellow and 5.1% black. Its hue angle is 254.22°, with 89.03% saturation and 53.53% 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.43:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 0.91.

Description generated from the measured properties of this color.

Conversions of #511ff2 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.0914

Readable text 7.43:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.83:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #555555 ≈ 0.003% of males
Achromatomaly #5445ac ≈ 0.001% of males
Protanopia #005df7 ≈ 1.01% of males
Deuteranopia #004def ≈ 1.27% of males
Tritanopia #006890 ≈ 0.0001% of males
Protanomaly #004bf5 ≈ 1.08% of males
Deuteranomaly #003ff0 ≈ 4.63% of males
Tritanomaly #0054bf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#511ff2  rgb(81, 31, 242)  hsl(254, 89%, 54%)  Han Purple
#c0f21f  rgb(192, 242, 31)  hsl(74, 89%, 54%)  Electric Lime
#f2511f  rgb(242, 81, 31)  hsl(14, 89%, 54%)  Orange Red
#1ff251  rgb(31, 242, 81)  hsl(134, 89%, 54%)  Lime