#5A2AA2

#5a2aa2 ≈ Rebecca Purple

  • violet
  • Lightness: medium
  • Saturation: moderate
  • Cool

#5a2aa2 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 35.29% red, 16.47% green and 63.53% blue; printed in CMYK it uses 44.44% cyan, 74.07% magenta, 0% yellow and 36.47% black. Its hue angle is 264°, with 58.82% saturation and 40% 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.18:1 (WCAG AAA). The closest named color is Rebecca Purple (#663399), ΔE 3.65.

Description generated from the measured properties of this color.

Conversions of #5a2aa2 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.0644

Readable text 9.18:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.29:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #484848 ≈ 0.003% of males
Achromatomaly #503e77 ≈ 0.001% of males
Protanopia #0049a5 ≈ 1.01% of males
Deuteranopia #0046a0 ≈ 1.27% of males
Tritanopia #464964 ≈ 0.0001% of males
Protanomaly #273ea4 ≈ 1.08% of males
Deuteranomaly #2d3da1 ≈ 4.63% of males
Tritanomaly #4f3f81 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5a2aa2 {
  color: #5a2aa2;
}
Background
.bg-5a2aa2 {
  background-color: #5a2aa2;
  color: #ffffff;
}
Border
.border-5a2aa2 {
  border: 2px solid #5a2aa2;
}
CSS variables
:root {
  --color-primary: #5a2aa2;
  --color-primary-rgb: 90 42 162;
  --color-primary-hsl: 264 59% 40%;
}
Gradient
.gradient-5a2aa2 {
  background: linear-gradient(135deg, #5a2aa2, #962aa2);
}
Colored shadow
.shadow-5a2aa2 {
  box-shadow: 0 8px 24px rgb(90 42 162 / 0.35);
}

Rebecca Purple
#5a2aa2  rgb(90, 42, 162)  hsl(264, 59%, 40%)  Rebecca Purple
#72a22a  rgb(114, 162, 42)  hsl(84, 59%, 40%)  Olive Drab
#a25a2a  rgb(162, 90, 42)  hsl(24, 59%, 40%)  Sienna
#2aa25a  rgb(42, 162, 90)  hsl(144, 59%, 40%)  Shamrock Green