#5A2EA0

#5a2ea0 ≈ Rebecca Purple

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

#5a2ea0 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 35.29% red, 18.04% green and 62.75% blue; printed in CMYK it uses 43.75% cyan, 71.25% magenta, 0% yellow and 37.25% black. Its hue angle is 263.16°, with 55.34% saturation and 40.39% 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:1 (WCAG AAA). The closest named color is Rebecca Purple (#663399), ΔE 3.11.

Description generated from the measured properties of this color.

Conversions of #5a2ea0 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.0667

Readable text 9:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.33:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #494949 ≈ 0.003% of males
Achromatomaly #504076 ≈ 0.001% of males
Protanopia #004aa3 ≈ 1.01% of males
Deuteranopia #00479e ≈ 1.27% of males
Tritanopia #474a64 ≈ 0.0001% of males
Protanomaly #2b40a2 ≈ 1.08% of males
Deuteranomaly #303f9f ≈ 4.63% of males
Tritanomaly #4f4180 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5a2ea0 {
  color: #5a2ea0;
}
Background
.bg-5a2ea0 {
  background-color: #5a2ea0;
  color: #ffffff;
}
Border
.border-5a2ea0 {
  border: 2px solid #5a2ea0;
}
CSS variables
:root {
  --color-primary: #5a2ea0;
  --color-primary-rgb: 90 46 160;
  --color-primary-hsl: 263 55% 40%;
}
Gradient
.gradient-5a2ea0 {
  background: linear-gradient(135deg, #5a2ea0, #932ea0);
}
Colored shadow
.shadow-5a2ea0 {
  box-shadow: 0 8px 24px rgb(90 46 160 / 0.35);
}

Rebecca Purple
#5a2ea0  rgb(90, 46, 160)  hsl(263, 55%, 40%)  Rebecca Purple
#74a02e  rgb(116, 160, 46)  hsl(83, 55%, 40%)  Olive Drab
#a05a2e  rgb(160, 90, 46)  hsl(23, 55%, 40%)  Sienna
#2ea05a  rgb(46, 160, 90)  hsl(143, 55%, 40%)  Shamrock Green