#5F2FA2

#5f2fa2 ≈ Rebecca Purple

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

#5f2fa2 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 37.25% red, 18.43% green and 63.53% blue; printed in CMYK it uses 41.36% cyan, 70.99% magenta, 0% yellow and 36.47% black. Its hue angle is 265.04°, with 55.02% saturation and 40.98% 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.7:1 (WCAG AAA). The closest named color is Rebecca Purple (#663399), ΔE 2.51.

Description generated from the measured properties of this color.

Conversions of #5f2fa2 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.0707

Readable text 8.7:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.41:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4b4b4b ≈ 0.003% of males
Achromatomaly #544278 ≈ 0.001% of males
Protanopia #004ba5 ≈ 1.01% of males
Deuteranopia #004aa0 ≈ 1.27% of males
Tritanopia #4e4b65 ≈ 0.0001% of males
Protanomaly #3042a4 ≈ 1.08% of males
Deuteranomaly #3641a1 ≈ 4.63% of males
Tritanomaly #554282 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5f2fa2 {
  color: #5f2fa2;
}
Background
.bg-5f2fa2 {
  background-color: #5f2fa2;
  color: #ffffff;
}
Border
.border-5f2fa2 {
  border: 2px solid #5f2fa2;
}
CSS variables
:root {
  --color-primary: #5f2fa2;
  --color-primary-rgb: 95 47 162;
  --color-primary-hsl: 265 55% 41%;
}
Gradient
.gradient-5f2fa2 {
  background: linear-gradient(135deg, #5f2fa2, #982fa2);
}
Colored shadow
.shadow-5f2fa2 {
  box-shadow: 0 8px 24px rgb(95 47 162 / 0.35);
}

Rebecca Purple
#5f2fa2  rgb(95, 47, 162)  hsl(265, 55%, 41%)  Rebecca Purple
#72a22f  rgb(114, 162, 47)  hsl(85, 55%, 41%)  Olive Drab
#a25f2f  rgb(162, 95, 47)  hsl(25, 55%, 41%)  Sienna
#2fa25f  rgb(47, 162, 95)  hsl(145, 55%, 41%)  Shamrock Green