#5F3D8A

#5f3d8a ≈ Rebecca Purple

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

#5f3d8a is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 37.25% red, 23.92% green and 54.12% blue; printed in CMYK it uses 31.16% cyan, 55.8% magenta, 0% yellow and 45.88% black. Its hue angle is 266.49°, with 38.69% saturation and 39.02% 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.33:1 (WCAG AAA). The closest named color is Rebecca Purple (#663399), ΔE 4.17.

Description generated from the measured properties of this color.

Conversions of #5f3d8a 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.0761

Readable text 8.33:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.52:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4e4e4e ≈ 0.003% of males
Achromatomaly #55486b ≈ 0.001% of males
Protanopia #204d8d ≈ 1.01% of males
Deuteranopia #2b4e88 ≈ 1.27% of males
Tritanopia #574c5d ≈ 0.0001% of males
Protanomaly #42478c ≈ 1.08% of males
Deuteranomaly #454889 ≈ 4.63% of males
Tritanomaly #5a4672 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5f3d8a {
  color: #5f3d8a;
}
Background
.bg-5f3d8a {
  background-color: #5f3d8a;
  color: #ffffff;
}
Border
.border-5f3d8a {
  border: 2px solid #5f3d8a;
}
CSS variables
:root {
  --color-primary: #5f3d8a;
  --color-primary-rgb: 95 61 138;
  --color-primary-hsl: 266 39% 39%;
}
Gradient
.gradient-5f3d8a {
  background: linear-gradient(135deg, #5f3d8a, #853d8a);
}
Colored shadow
.shadow-5f3d8a {
  box-shadow: 0 8px 24px rgb(95 61 138 / 0.35);
}

Rebecca Purple
#5f3d8a  rgb(95, 61, 138)  hsl(266, 39%, 39%)  Rebecca Purple
#688a3d  rgb(104, 138, 61)  hsl(86, 39%, 39%)  Olive Drab
#8a5f3d  rgb(138, 95, 61)  hsl(26, 39%, 39%)  Raw Umber
#3d8a5f  rgb(61, 138, 95)  hsl(146, 39%, 39%)  Sea Green