#5B517F

#5b517f ≈ Dark Slate Blue

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

#5b517f is a color from the violet family, with medium lightness and muted saturation. In the RGB model it is made of 35.69% red, 31.76% green and 49.8% blue; printed in CMYK it uses 28.35% cyan, 36.22% magenta, 0% yellow and 50.2% black. Its hue angle is 253.04°, with 22.12% saturation and 40.78% 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 7.17:1 (WCAG AAA). The closest named color is Dark Slate Blue (#483d8b), ΔE 9.11.

Description generated from the measured properties of this color.

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

Readable text 7.17:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.93:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #575757 ≈ 0.003% of males
Achromatomaly #59556a ≈ 0.001% of males
Protanopia #455881 ≈ 1.01% of males
Deuteranopia #46577e ≈ 1.27% of males
Tritanopia #535962 ≈ 0.0001% of males
Protanomaly #4f5580 ≈ 1.08% of males
Deuteranomaly #4f547e ≈ 4.63% of males
Tritanomaly #56566f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5b517f {
  color: #5b517f;
}
Background
.bg-5b517f {
  background-color: #5b517f;
  color: #ffffff;
}
Border
.border-5b517f {
  border: 2px solid #5b517f;
}
CSS variables
:root {
  --color-primary: #5b517f;
  --color-primary-rgb: 91 81 127;
  --color-primary-hsl: 253 22% 41%;
}
Gradient
.gradient-5b517f {
  background: linear-gradient(135deg, #5b517f, #72517f);
}
Colored shadow
.shadow-5b517f {
  box-shadow: 0 8px 24px rgb(91 81 127 / 0.35);
}

Dark Slate Blue
#5b517f  rgb(91, 81, 127)  hsl(253, 22%, 41%)  Dark Slate Blue
#757f51  rgb(117, 127, 81)  hsl(73, 22%, 41%)  Fern Green
#7f5b51  rgb(127, 91, 81)  hsl(13, 22%, 41%)  Liver
#517f5b  rgb(81, 127, 91)  hsl(133, 22%, 41%)  Fern Green