#511FAB

#511fab ≈ Rebecca Purple

  • violet
  • Lightness: low
  • Saturation: strong
  • Cool

#511fab is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 31.76% red, 12.16% green and 67.06% blue; printed in CMYK it uses 52.63% cyan, 81.87% magenta, 0% yellow and 32.94% black. Its hue angle is 261.43°, with 69.31% saturation and 39.61% 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 brand accents. White text on this color reaches a contrast ratio of 9.84:1 (WCAG AAA). The closest named color is Rebecca Purple (#663399), ΔE 6.43.

Description generated from the measured properties of this color.

Conversions of #511fab into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#663399
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0567

Readable text 9.84:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.13:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #434343 ≈ 0.003% of males
Achromatomaly #49387b ≈ 0.001% of males
Protanopia #0046af ≈ 1.01% of males
Deuteranopia #0040a9 ≈ 1.27% of males
Tritanopia #304966 ≈ 0.0001% of males
Protanomaly #003aad ≈ 1.08% of males
Deuteranomaly #0836aa ≈ 4.63% of males
Tritanomaly #403c87 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-511fab {
  color: #511fab;
}
Background
.bg-511fab {
  background-color: #511fab;
  color: #ffffff;
}
Border
.border-511fab {
  border: 2px solid #511fab;
}
CSS variables
:root {
  --color-primary: #511fab;
  --color-primary-rgb: 81 31 171;
  --color-primary-hsl: 261 69% 40%;
}
Gradient
.gradient-511fab {
  background: linear-gradient(135deg, #511fab, #971fab);
}
Colored shadow
.shadow-511fab {
  box-shadow: 0 8px 24px rgb(81 31 171 / 0.35);
}

Rebecca Purple
#511fab  rgb(81, 31, 171)  hsl(261, 69%, 40%)  Rebecca Purple
#79ab1f  rgb(121, 171, 31)  hsl(81, 69%, 40%)  Apple Green
#ab511f  rgb(171, 81, 31)  hsl(21, 69%, 40%)  Sienna
#1fab51  rgb(31, 171, 81)  hsl(141, 69%, 40%)  Medium Sea Green