#5E2FA6

#5e2fa6 ≈ Rebecca Purple

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

#5e2fa6 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 36.86% red, 18.43% green and 65.1% blue; printed in CMYK it uses 43.37% cyan, 71.69% magenta, 0% yellow and 34.9% black. Its hue angle is 263.7°, with 55.87% saturation and 41.76% 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.63: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 #5e2fa6 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.0717

Readable text 8.63:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.43:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4c4c4c ≈ 0.003% of males
Achromatomaly #54427a ≈ 0.001% of males
Protanopia #004ca9 ≈ 1.01% of males
Deuteranopia #004aa4 ≈ 1.27% of males
Tritanopia #4b4d67 ≈ 0.0001% of males
Protanomaly #2d42a8 ≈ 1.08% of males
Deuteranomaly #3241a5 ≈ 4.63% of males
Tritanomaly #534385 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5e2fa6 {
  color: #5e2fa6;
}
Background
.bg-5e2fa6 {
  background-color: #5e2fa6;
  color: #ffffff;
}
Border
.border-5e2fa6 {
  border: 2px solid #5e2fa6;
}
CSS variables
:root {
  --color-primary: #5e2fa6;
  --color-primary-rgb: 94 47 166;
  --color-primary-hsl: 264 56% 42%;
}
Gradient
.gradient-5e2fa6 {
  background: linear-gradient(135deg, #5e2fa6, #992fa6);
}
Colored shadow
.shadow-5e2fa6 {
  box-shadow: 0 8px 24px rgb(94 47 166 / 0.35);
}

Rebecca Purple
#5e2fa6  rgb(94, 47, 166)  hsl(264, 56%, 42%)  Rebecca Purple
#77a62f  rgb(119, 166, 47)  hsl(84, 56%, 42%)  Apple Green
#a65e2f  rgb(166, 94, 47)  hsl(24, 56%, 42%)  Sienna
#2fa65e  rgb(47, 166, 94)  hsl(144, 56%, 42%)  Jade