#5D5E97

#5d5e97 ≈ Royal Purple

  • blue
  • Lightness: medium
  • Saturation: muted
  • Cool

#5d5e97 is a color from the blue family, with medium lightness and muted saturation. In the RGB model it is made of 36.47% red, 36.86% green and 59.22% blue; printed in CMYK it uses 38.41% cyan, 37.75% magenta, 0% yellow and 40.78% black. Its hue angle is 238.97°, with 23.77% saturation and 47.84% 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 5.98:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 9.19.

Description generated from the measured properties of this color.

Conversions of #5d5e97 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.1257

Readable text 5.98:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.51:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #636363 ≈ 0.003% of males
Achromatomaly #61617b ≈ 0.001% of males
Protanopia #4b6599 ≈ 1.01% of males
Deuteranopia #496196 ≈ 1.27% of males
Tritanopia #4d6973 ≈ 0.0001% of males
Protanomaly #536398 ≈ 1.08% of males
Deuteranomaly #526096 ≈ 4.63% of males
Tritanomaly #546583 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5d5e97 {
  color: #5d5e97;
}
Background
.bg-5d5e97 {
  background-color: #5d5e97;
  color: #ffffff;
}
Border
.border-5d5e97 {
  border: 2px solid #5d5e97;
}
CSS variables
:root {
  --color-primary: #5d5e97;
  --color-primary-rgb: 93 94 151;
  --color-primary-hsl: 239 24% 48%;
}
Gradient
.gradient-5d5e97 {
  background: linear-gradient(135deg, #5d5e97, #795d97);
}
Colored shadow
.shadow-5d5e97 {
  box-shadow: 0 8px 24px rgb(93 94 151 / 0.35);
}

Royal Purple
#5d5e97  rgb(93, 94, 151)  hsl(239, 24%, 48%)  Royal Purple
#97965d  rgb(151, 150, 93)  hsl(59, 24%, 48%)  Moss Green
#975d5e  rgb(151, 93, 94)  hsl(359, 24%, 48%)  Copper Rose
#5e975d  rgb(94, 151, 93)  hsl(119, 24%, 48%)  Sea Green