#511CF5

#511cf5 ≈ Han Purple

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

#511cf5 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 96.08% blue; printed in CMYK it uses 66.94% cyan, 88.57% magenta, 0% yellow and 3.92% black. Its hue angle is 254.65°, with 91.56% 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.41:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 0.57.

Description generated from the measured properties of this color.

Conversions of #511cf5 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.0917

Readable text 7.41: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 #5445ad ≈ 0.001% of males
Protanopia #005dfa ≈ 1.01% of males
Deuteranopia #004df2 ≈ 1.27% of males
Tritanopia #006892 ≈ 0.0001% of males
Protanomaly #004bf8 ≈ 1.08% of males
Deuteranomaly #003ff3 ≈ 4.63% of males
Tritanomaly #0054c2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#511cf5  rgb(81, 28, 245)  hsl(255, 92%, 54%)  Han Purple
#c0f51c  rgb(192, 245, 28)  hsl(75, 92%, 54%)  Electric Lime
#f5511c  rgb(245, 81, 28)  hsl(15, 92%, 54%)  Orange Red
#1cf551  rgb(28, 245, 81)  hsl(135, 92%, 54%)  Lime