#5A20A0

#5a20a0 ≈ Rebecca Purple

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

#5a20a0 is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 35.29% red, 12.55% green and 62.75% blue; printed in CMYK it uses 43.75% cyan, 80% magenta, 0% yellow and 37.25% black. Its hue angle is 267.19°, with 66.67% saturation and 37.65% 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.77:1 (WCAG AAA). The closest named color is Rebecca Purple (#663399), ΔE 4.73.

Description generated from the measured properties of this color.

Conversions of #5a20a0 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.0574

Readable text 9.77:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.15:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #444444 ≈ 0.003% of males
Achromatomaly #4e3974 ≈ 0.001% of males
Protanopia #0044a3 ≈ 1.01% of males
Deuteranopia #00429e ≈ 1.27% of males
Tritanopia #484460 ≈ 0.0001% of males
Protanomaly #2239a2 ≈ 1.08% of males
Deuteranomaly #2a379f ≈ 4.63% of males
Tritanomaly #50387f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5a20a0 {
  color: #5a20a0;
}
Background
.bg-5a20a0 {
  background-color: #5a20a0;
  color: #ffffff;
}
Border
.border-5a20a0 {
  border: 2px solid #5a20a0;
}
CSS variables
:root {
  --color-primary: #5a20a0;
  --color-primary-rgb: 90 32 160;
  --color-primary-hsl: 267 67% 38%;
}
Gradient
.gradient-5a20a0 {
  background: linear-gradient(135deg, #5a20a0, #9a20a0);
}
Colored shadow
.shadow-5a20a0 {
  box-shadow: 0 8px 24px rgb(90 32 160 / 0.35);
}

Rebecca Purple
#5a20a0  rgb(90, 32, 160)  hsl(267, 67%, 38%)  Rebecca Purple
#66a020  rgb(102, 160, 32)  hsl(87, 67%, 38%)  Olive Drab
#a05a20  rgb(160, 90, 32)  hsl(27, 67%, 38%)  Sienna
#20a05a  rgb(32, 160, 90)  hsl(147, 67%, 38%)  Shamrock Green