#5E2F97

#5e2f97 ≈ Rebecca Purple

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

#5e2f97 is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 36.86% red, 18.43% green and 59.22% blue; printed in CMYK it uses 37.75% cyan, 68.87% magenta, 0% yellow and 40.78% black. Its hue angle is 267.12°, with 52.53% saturation and 38.82% 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.02:1 (WCAG AAA). The closest named color is Rebecca Purple (#663399), ΔE 1.77.

Description generated from the measured properties of this color.

Conversions of #5e2f97 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.0665

Readable text 9.02: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 #524071 ≈ 0.001% of males
Protanopia #00499a ≈ 1.01% of males
Deuteranopia #004895 ≈ 1.27% of males
Tritanopia #51475f ≈ 0.0001% of males
Protanomaly #344099 ≈ 1.08% of males
Deuteranomaly #3a3f96 ≈ 4.63% of males
Tritanomaly #573f79 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5e2f97 {
  color: #5e2f97;
}
Background
.bg-5e2f97 {
  background-color: #5e2f97;
  color: #ffffff;
}
Border
.border-5e2f97 {
  border: 2px solid #5e2f97;
}
CSS variables
:root {
  --color-primary: #5e2f97;
  --color-primary-rgb: 94 47 151;
  --color-primary-hsl: 267 53% 39%;
}
Gradient
.gradient-5e2f97 {
  background: linear-gradient(135deg, #5e2f97, #922f97);
}
Colored shadow
.shadow-5e2f97 {
  box-shadow: 0 8px 24px rgb(94 47 151 / 0.35);
}

Rebecca Purple
#5e2f97  rgb(94, 47, 151)  hsl(267, 53%, 39%)  Rebecca Purple
#68972f  rgb(104, 151, 47)  hsl(87, 53%, 39%)  Olive Drab
#975e2f  rgb(151, 94, 47)  hsl(27, 53%, 39%)  Sienna
#2f975e  rgb(47, 151, 94)  hsl(147, 53%, 39%)  Shamrock Green