#5F2CA6

#5f2ca6 ≈ Rebecca Purple

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

#5f2ca6 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 65.1% blue; printed in CMYK it uses 42.77% cyan, 73.49% magenta, 0% yellow and 34.9% black. Its hue angle is 265.08°, with 58.1% saturation and 41.18% 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.76:1 (WCAG AAA). The closest named color is Rebecca Purple (#663399), ΔE 3.24.

Description generated from the measured properties of this color.

Conversions of #5f2ca6 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.0699

Readable text 8.76:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.4:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4b4b4b ≈ 0.003% of males
Achromatomaly #54407a ≈ 0.001% of males
Protanopia #004baa ≈ 1.01% of males
Deuteranopia #0049a4 ≈ 1.27% of males
Tritanopia #4d4b66 ≈ 0.0001% of males
Protanomaly #2c41a8 ≈ 1.08% of males
Deuteranomaly #323fa5 ≈ 4.63% of males
Tritanomaly #554185 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Rebecca Purple
#5f2ca6  rgb(95, 44, 166)  hsl(265, 58%, 41%)  Rebecca Purple
#73a62c  rgb(115, 166, 44)  hsl(85, 58%, 41%)  Apple Green
#a65f2c  rgb(166, 95, 44)  hsl(25, 58%, 41%)  Sienna
#2ca65f  rgb(44, 166, 95)  hsl(145, 58%, 41%)  Jade