#522AAA

#522aaa ≈ Rebecca Purple

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#522aaa is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 32.16% red, 16.47% green and 66.67% blue; printed in CMYK it uses 51.76% cyan, 75.29% magenta, 0% yellow and 33.33% black. Its hue angle is 258.75°, with 60.38% saturation and 41.57% 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.25:1 (WCAG AAA). The closest named color is Rebecca Purple (#663399), ΔE 5.37.

Description generated from the measured properties of this color.

Conversions of #522aaa 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.0635

Readable text 9.25:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.27:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #474747 ≈ 0.003% of males
Achromatomaly #4c3d7b ≈ 0.001% of males
Protanopia #004aae ≈ 1.01% of males
Deuteranopia #0044a8 ≈ 1.27% of males
Tritanopia #324d68 ≈ 0.0001% of males
Protanomaly #133fac ≈ 1.08% of males
Deuteranomaly #183ba9 ≈ 4.63% of males
Tritanomaly #414287 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-522aaa {
  color: #522aaa;
}
Background
.bg-522aaa {
  background-color: #522aaa;
  color: #ffffff;
}
Border
.border-522aaa {
  border: 2px solid #522aaa;
}
CSS variables
:root {
  --color-primary: #522aaa;
  --color-primary-rgb: 82 42 170;
  --color-primary-hsl: 259 60% 42%;
}
Gradient
.gradient-522aaa {
  background: linear-gradient(135deg, #522aaa, #922aaa);
}
Colored shadow
.shadow-522aaa {
  box-shadow: 0 8px 24px rgb(82 42 170 / 0.35);
}

Rebecca Purple
#522aaa  rgb(82, 42, 170)  hsl(259, 60%, 42%)  Rebecca Purple
#82aa2a  rgb(130, 170, 42)  hsl(79, 60%, 42%)  Apple Green
#aa522a  rgb(170, 82, 42)  hsl(19, 60%, 42%)  Sienna
#2aaa52  rgb(42, 170, 82)  hsl(139, 60%, 42%)  Medium Sea Green