#5F2AB5

#5f2ab5 ≈ Rebecca Purple

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#5f2ab5 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 37.25% red, 16.47% green and 70.98% blue; printed in CMYK it uses 47.51% cyan, 76.8% magenta, 0% yellow and 29.02% black. Its hue angle is 262.88°, with 62.33% saturation and 43.73% 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.45:1 (WCAG AAA). The closest named color is Rebecca Purple (#663399), ΔE 5.17.

Description generated from the measured properties of this color.

Conversions of #5f2ab5 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6633cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0743

Readable text 8.45:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.49:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4d4d4d ≈ 0.003% of males
Achromatomaly #554284 ≈ 0.001% of males
Protanopia #004eb9 ≈ 1.01% of males
Deuteranopia #004bb2 ≈ 1.27% of males
Tritanopia #45506e ≈ 0.0001% of males
Protanomaly #1f43b7 ≈ 1.08% of males
Deuteranomaly #2640b3 ≈ 4.63% of males
Tritanomaly #514490 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5f2ab5 {
  color: #5f2ab5;
}
Background
.bg-5f2ab5 {
  background-color: #5f2ab5;
  color: #ffffff;
}
Border
.border-5f2ab5 {
  border: 2px solid #5f2ab5;
}
CSS variables
:root {
  --color-primary: #5f2ab5;
  --color-primary-rgb: 95 42 181;
  --color-primary-hsl: 263 62% 44%;
}
Gradient
.gradient-5f2ab5 {
  background: linear-gradient(135deg, #5f2ab5, #a52ab5);
}
Colored shadow
.shadow-5f2ab5 {
  box-shadow: 0 8px 24px rgb(95 42 181 / 0.35);
}

Rebecca Purple
#5f2ab5  rgb(95, 42, 181)  hsl(263, 62%, 44%)  Rebecca Purple
#80b52a  rgb(128, 181, 42)  hsl(83, 62%, 44%)  Apple Green
#b55f2a  rgb(181, 95, 42)  hsl(23, 62%, 44%)  Burnt Orange
#2ab55f  rgb(42, 181, 95)  hsl(143, 62%, 44%)  Medium Sea Green