#5D599D

#5d599d ≈ Royal Purple

  • blue
  • Lightness: medium
  • Saturation: moderate
  • Cool

#5d599d is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 36.47% red, 34.9% green and 61.57% blue; printed in CMYK it uses 40.76% cyan, 43.31% magenta, 0% yellow and 38.43% black. Its hue angle is 243.53°, with 27.64% saturation and 48.24% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and brand accents. White text on this color reaches a contrast ratio of 6.21:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 7.46.

Description generated from the measured properties of this color.

Conversions of #5d599d 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.1191

Readable text 6.21:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.38:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #616161 ≈ 0.003% of males
Achromatomaly #5f5e7d ≈ 0.001% of males
Protanopia #4163a0 ≈ 1.01% of males
Deuteranopia #3f5f9b ≈ 1.27% of males
Tritanopia #4b6673 ≈ 0.0001% of males
Protanomaly #4e5f9f ≈ 1.08% of males
Deuteranomaly #4d5d9c ≈ 4.63% of males
Tritanomaly #536186 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Royal Purple
#5d599d  rgb(93, 89, 157)  hsl(244, 28%, 48%)  Royal Purple
#999d59  rgb(153, 157, 89)  hsl(64, 28%, 48%)  Moss Green
#9d5d59  rgb(157, 93, 89)  hsl(4, 28%, 48%)  Redwood
#599d5d  rgb(89, 157, 93)  hsl(124, 28%, 48%)  Shamrock Green