#522D8A

#522d8a ≈ Rebecca Purple

  • violet
  • Lightness: low
  • Saturation: moderate
  • Cool

#522d8a is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 32.16% red, 17.65% green and 54.12% blue; printed in CMYK it uses 40.58% cyan, 67.39% magenta, 0% yellow and 45.88% black. Its hue angle is 263.87°, with 50.82% saturation and 35.88% 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.99:1 (WCAG AAA). The closest named color is Rebecca Purple (#663399), ΔE 4.23.

Description generated from the measured properties of this color.

Conversions of #522d8a 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.0551

Readable text 9.99:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.1:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #424242 ≈ 0.003% of males
Achromatomaly #493b67 ≈ 0.001% of males
Protanopia #00438d ≈ 1.01% of males
Deuteranopia #004188 ≈ 1.27% of males
Tritanopia #444357 ≈ 0.0001% of males
Protanomaly #2e3b8c ≈ 1.08% of males
Deuteranomaly #313a89 ≈ 4.63% of males
Tritanomaly #4a3b6f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-522d8a {
  color: #522d8a;
}
Background
.bg-522d8a {
  background-color: #522d8a;
  color: #ffffff;
}
Border
.border-522d8a {
  border: 2px solid #522d8a;
}
CSS variables
:root {
  --color-primary: #522d8a;
  --color-primary-rgb: 82 45 138;
  --color-primary-hsl: 264 51% 36%;
}
Gradient
.gradient-522d8a {
  background: linear-gradient(135deg, #522d8a, #802d8a);
}
Colored shadow
.shadow-522d8a {
  box-shadow: 0 8px 24px rgb(82 45 138 / 0.35);
}

Rebecca Purple
#522d8a  rgb(82, 45, 138)  hsl(264, 51%, 36%)  Rebecca Purple
#658a2d  rgb(101, 138, 45)  hsl(84, 51%, 36%)  Olive Drab
#8a522d  rgb(138, 82, 45)  hsl(24, 51%, 36%)  Russet
#2d8a52  rgb(45, 138, 82)  hsl(144, 51%, 36%)  Sea Green