#511FFD

#511ffd ≈ Han Purple

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

#511ffd 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 99.22% blue; printed in CMYK it uses 67.98% cyan, 87.75% magenta, 0% yellow and 0.78% black. Its hue angle is 253.51°, with 98.23% saturation and 55.69% 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.08:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 0.88.

Description generated from the measured properties of this color.

Conversions of #511ffd 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.0982

Readable text 7.08:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.96:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #585858 ≈ 0.003% of males
Achromatomaly #5548b3 ≈ 0.001% of males
Protanopia #0060ff ≈ 1.01% of males
Deuteranopia #004ff9 ≈ 1.27% of males
Tritanopia #006c97 ≈ 0.0001% of males
Protanomaly #004eff ≈ 1.08% of males
Deuteranomaly #0041fb ≈ 4.63% of males
Tritanomaly #0057c8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#511ffd  rgb(81, 31, 253)  hsl(254, 98%, 56%)  Han Purple
#cbfd1f  rgb(203, 253, 31)  hsl(74, 98%, 56%)  Electric Lime
#fd511f  rgb(253, 81, 31)  hsl(14, 98%, 56%)  Orange Red
#1ffd51  rgb(31, 253, 81)  hsl(134, 98%, 56%)  Lime