#5A2DB2

#5a2db2 ≈ Rebecca Purple

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

#5a2db2 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 35.29% red, 17.65% green and 69.8% blue; printed in CMYK it uses 49.44% cyan, 74.72% magenta, 0% yellow and 30.2% black. Its hue angle is 260.3°, with 59.64% saturation and 43.73% 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 8.56:1 (WCAG AAA). The closest named color is Rebecca Purple (#663399), ΔE 5.1.

Description generated from the measured properties of this color.

Conversions of #5a2db2 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.0726

Readable text 8.56:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.45:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4c4c4c ≈ 0.003% of males
Achromatomaly #524282 ≈ 0.001% of males
Protanopia #004eb6 ≈ 1.01% of males
Deuteranopia #0049af ≈ 1.27% of males
Tritanopia #3d516d ≈ 0.0001% of males
Protanomaly #1d43b4 ≈ 1.08% of males
Deuteranomaly #2240b0 ≈ 4.63% of males
Tritanomaly #4a458e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5a2db2 {
  color: #5a2db2;
}
Background
.bg-5a2db2 {
  background-color: #5a2db2;
  color: #ffffff;
}
Border
.border-5a2db2 {
  border: 2px solid #5a2db2;
}
CSS variables
:root {
  --color-primary: #5a2db2;
  --color-primary-rgb: 90 45 178;
  --color-primary-hsl: 260 60% 44%;
}
Gradient
.gradient-5a2db2 {
  background: linear-gradient(135deg, #5a2db2, #9d2db2);
}
Colored shadow
.shadow-5a2db2 {
  box-shadow: 0 8px 24px rgb(90 45 178 / 0.35);
}

Rebecca Purple
#5a2db2  rgb(90, 45, 178)  hsl(260, 60%, 44%)  Rebecca Purple
#85b22d  rgb(133, 178, 45)  hsl(80, 60%, 44%)  Apple Green
#b25a2d  rgb(178, 90, 45)  hsl(20, 60%, 44%)  Sienna
#2db25a  rgb(45, 178, 90)  hsl(140, 60%, 44%)  Medium Sea Green