#5F528D

#5f528d ≈ Royal Purple

  • violet
  • Lightness: medium
  • Saturation: muted
  • Cool

#5f528d is a color from the violet family, with medium lightness and muted saturation. In the RGB model it is made of 37.25% red, 32.16% green and 55.29% blue; printed in CMYK it uses 32.62% cyan, 41.84% magenta, 0% yellow and 44.71% black. Its hue angle is 253.22°, with 26.46% 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 6.82:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 7.24.

Description generated from the measured properties of this color.

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

Readable text 6.82:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.08:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5b5b5b ≈ 0.003% of males
Achromatomaly #5c5772 ≈ 0.001% of males
Protanopia #405c8f ≈ 1.01% of males
Deuteranopia #425a8c ≈ 1.27% of males
Tritanopia #545d68 ≈ 0.0001% of males
Protanomaly #4e588e ≈ 1.08% of males
Deuteranomaly #4f578c ≈ 4.63% of males
Tritanomaly #595979 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5f528d {
  color: #5f528d;
}
Background
.bg-5f528d {
  background-color: #5f528d;
  color: #ffffff;
}
Border
.border-5f528d {
  border: 2px solid #5f528d;
}
CSS variables
:root {
  --color-primary: #5f528d;
  --color-primary-rgb: 95 82 141;
  --color-primary-hsl: 253 26% 44%;
}
Gradient
.gradient-5f528d {
  background: linear-gradient(135deg, #5f528d, #7d528d);
}
Colored shadow
.shadow-5f528d {
  box-shadow: 0 8px 24px rgb(95 82 141 / 0.35);
}

Royal Purple
#5f528d  rgb(95, 82, 141)  hsl(253, 26%, 44%)  Royal Purple
#808d52  rgb(128, 141, 82)  hsl(73, 26%, 44%)  Moss Green
#8d5f52  rgb(141, 95, 82)  hsl(13, 26%, 44%)  Redwood
#528d5f  rgb(82, 141, 95)  hsl(133, 26%, 44%)  Sea Green