#511DAB

#511dab ≈ Rebecca Purple

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

#511dab is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 31.76% red, 11.37% green and 67.06% blue; printed in CMYK it uses 52.63% cyan, 83.04% magenta, 0% yellow and 32.94% black. Its hue angle is 261.97°, with 71% saturation and 39.22% 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.94:1 (WCAG AAA). The closest named color is Rebecca Purple (#663399), ΔE 6.61.

Description generated from the measured properties of this color.

Conversions of #511dab 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.0557

Readable text 9.94:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.11:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #434343 ≈ 0.003% of males
Achromatomaly #49377a ≈ 0.001% of males
Protanopia #0045af ≈ 1.01% of males
Deuteranopia #0040a8 ≈ 1.27% of males
Tritanopia #304866 ≈ 0.0001% of males
Protanomaly #0039ad ≈ 1.08% of males
Deuteranomaly #0635aa ≈ 4.63% of males
Tritanomaly #403b87 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-511dab {
  color: #511dab;
}
Background
.bg-511dab {
  background-color: #511dab;
  color: #ffffff;
}
Border
.border-511dab {
  border: 2px solid #511dab;
}
CSS variables
:root {
  --color-primary: #511dab;
  --color-primary-rgb: 81 29 171;
  --color-primary-hsl: 262 71% 39%;
}
Gradient
.gradient-511dab {
  background: linear-gradient(135deg, #511dab, #981dab);
}
Colored shadow
.shadow-511dab {
  box-shadow: 0 8px 24px rgb(81 29 171 / 0.35);
}

Rebecca Purple
#511dab  rgb(81, 29, 171)  hsl(262, 71%, 39%)  Rebecca Purple
#77ab1d  rgb(119, 171, 29)  hsl(82, 71%, 39%)  Apple Green
#ab511d  rgb(171, 81, 29)  hsl(22, 71%, 39%)  Sienna
#1dab51  rgb(29, 171, 81)  hsl(142, 71%, 39%)  Medium Sea Green