#5F517F

#5f517f ≈ Dark Slate Blue

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

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

Description generated from the measured properties of this color.

Conversions of #5f517f 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.0985

Readable text 7.07:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.97:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #585858 ≈ 0.003% of males
Achromatomaly #5b566a ≈ 0.001% of males
Protanopia #465981 ≈ 1.01% of males
Deuteranopia #48587e ≈ 1.27% of males
Tritanopia #595962 ≈ 0.0001% of males
Protanomaly #515680 ≈ 1.08% of males
Deuteranomaly #52557e ≈ 4.63% of males
Tritanomaly #5b566f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Dark Slate Blue
#5f517f  rgb(95, 81, 127)  hsl(258, 22%, 41%)  Dark Slate Blue
#717f51  rgb(113, 127, 81)  hsl(78, 22%, 41%)  Fern Green
#7f5f51  rgb(127, 95, 81)  hsl(18, 22%, 41%)  Coffee
#517f5f  rgb(81, 127, 95)  hsl(138, 22%, 41%)  Viridian