#5F2CA4

#5f2ca4 ≈ Rebecca Purple

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

#5f2ca4 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 37.25% red, 17.25% green and 64.31% blue; printed in CMYK it uses 42.07% cyan, 73.17% magenta, 0% yellow and 35.69% black. Its hue angle is 265.5°, with 57.69% saturation and 40.78% 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.81:1 (WCAG AAA). The closest named color is Rebecca Purple (#663399), ΔE 3.01.

Description generated from the measured properties of this color.

Conversions of #5f2ca4 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.0691

Readable text 8.81:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.38:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4a4a4a ≈ 0.003% of males
Achromatomaly #534079 ≈ 0.001% of males
Protanopia #004ba7 ≈ 1.01% of males
Deuteranopia #0049a2 ≈ 1.27% of males
Tritanopia #4e4a65 ≈ 0.0001% of males
Protanomaly #2d40a6 ≈ 1.08% of males
Deuteranomaly #333fa3 ≈ 4.63% of males
Tritanomaly #554083 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5f2ca4 {
  color: #5f2ca4;
}
Background
.bg-5f2ca4 {
  background-color: #5f2ca4;
  color: #ffffff;
}
Border
.border-5f2ca4 {
  border: 2px solid #5f2ca4;
}
CSS variables
:root {
  --color-primary: #5f2ca4;
  --color-primary-rgb: 95 44 164;
  --color-primary-hsl: 266 58% 41%;
}
Gradient
.gradient-5f2ca4 {
  background: linear-gradient(135deg, #5f2ca4, #9b2ca4);
}
Colored shadow
.shadow-5f2ca4 {
  box-shadow: 0 8px 24px rgb(95 44 164 / 0.35);
}

Rebecca Purple
#5f2ca4  rgb(95, 44, 164)  hsl(266, 58%, 41%)  Rebecca Purple
#71a42c  rgb(113, 164, 44)  hsl(86, 58%, 41%)  Olive Drab
#a45f2c  rgb(164, 95, 44)  hsl(26, 58%, 41%)  Sienna
#2ca45f  rgb(44, 164, 95)  hsl(146, 58%, 41%)  Shamrock Green