#5D5292

#5d5292 ≈ Royal Purple

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

#5d5292 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 36.47% red, 32.16% green and 57.25% blue; printed in CMYK it uses 36.3% cyan, 43.84% magenta, 0% yellow and 42.75% black. Its hue angle is 250.31°, with 28.07% saturation and 44.71% 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.8:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 6.96.

Description generated from the measured properties of this color.

Conversions of #5d5292 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.1044

Readable text 6.8:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.09:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5b5b5b ≈ 0.003% of males
Achromatomaly #5c5775 ≈ 0.001% of males
Protanopia #3d5c94 ≈ 1.01% of males
Deuteranopia #3d5990 ≈ 1.27% of males
Tritanopia #505e6b ≈ 0.0001% of males
Protanomaly #4c5893 ≈ 1.08% of males
Deuteranomaly #4c5791 ≈ 4.63% of males
Tritanomaly #555a7c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5d5292 {
  color: #5d5292;
}
Background
.bg-5d5292 {
  background-color: #5d5292;
  color: #ffffff;
}
Border
.border-5d5292 {
  border: 2px solid #5d5292;
}
CSS variables
:root {
  --color-primary: #5d5292;
  --color-primary-rgb: 93 82 146;
  --color-primary-hsl: 250 28% 45%;
}
Gradient
.gradient-5d5292 {
  background: linear-gradient(135deg, #5d5292, #7d5292);
}
Colored shadow
.shadow-5d5292 {
  box-shadow: 0 8px 24px rgb(93 82 146 / 0.35);
}

Royal Purple
#5d5292  rgb(93, 82, 146)  hsl(250, 28%, 45%)  Royal Purple
#879252  rgb(135, 146, 82)  hsl(70, 28%, 45%)  Moss Green
#925d52  rgb(146, 93, 82)  hsl(10, 28%, 45%)  Redwood
#52925d  rgb(82, 146, 93)  hsl(130, 28%, 45%)  Sea Green