#5A2E8A

#5a2e8a ≈ Rebecca Purple

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

#5a2e8a is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 35.29% red, 18.04% green and 54.12% blue; printed in CMYK it uses 34.78% cyan, 66.67% magenta, 0% yellow and 45.88% black. Its hue angle is 268.7°, with 50% saturation and 36.08% 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.58:1 (WCAG AAA). The closest named color is Rebecca Purple (#663399), ΔE 3.13.

Description generated from the measured properties of this color.

Conversions of #5a2e8a 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.0596

Readable text 9.58:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.19:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #454545 ≈ 0.003% of males
Achromatomaly #4e3d68 ≈ 0.001% of males
Protanopia #00448d ≈ 1.01% of males
Deuteranopia #0a4588 ≈ 1.27% of males
Tritanopia #504258 ≈ 0.0001% of males
Protanomaly #363d8c ≈ 1.08% of males
Deuteranomaly #3a3d89 ≈ 4.63% of males
Tritanomaly #543b6f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5a2e8a {
  color: #5a2e8a;
}
Background
.bg-5a2e8a {
  background-color: #5a2e8a;
  color: #ffffff;
}
Border
.border-5a2e8a {
  border: 2px solid #5a2e8a;
}
CSS variables
:root {
  --color-primary: #5a2e8a;
  --color-primary-rgb: 90 46 138;
  --color-primary-hsl: 269 50% 36%;
}
Gradient
.gradient-5a2e8a {
  background: linear-gradient(135deg, #5a2e8a, #882e8a);
}
Colored shadow
.shadow-5a2e8a {
  box-shadow: 0 8px 24px rgb(90 46 138 / 0.35);
}

Rebecca Purple
#5a2e8a  rgb(90, 46, 138)  hsl(269, 50%, 36%)  Rebecca Purple
#5e8a2e  rgb(94, 138, 46)  hsl(89, 50%, 36%)  Olive Drab
#8a5a2e  rgb(138, 90, 46)  hsl(29, 50%, 36%)  Russet
#2e8a5a  rgb(46, 138, 90)  hsl(149, 50%, 36%)  Sea Green