#5F4E86

#5f4e86 ≈ Dark Slate Blue

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

#5f4e86 is a color from the violet family, with medium lightness and muted saturation. In the RGB model it is made of 37.25% red, 30.59% green and 52.55% blue; printed in CMYK it uses 29.1% cyan, 41.79% magenta, 0% yellow and 47.45% black. Its hue angle is 258.21°, with 26.42% saturation and 41.57% 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.19:1 (WCAG AAA). The closest named color is Dark Slate Blue (#483d8b), ΔE 7.61.

Description generated from the measured properties of this color.

Conversions of #5f4e86 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.096

Readable text 7.19:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.92:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #575757 ≈ 0.003% of males
Achromatomaly #5a546d ≈ 0.001% of males
Protanopia #3e5888 ≈ 1.01% of males
Deuteranopia #415785 ≈ 1.27% of males
Tritanopia #575863 ≈ 0.0001% of males
Protanomaly #4d5487 ≈ 1.08% of males
Deuteranomaly #4f5385 ≈ 4.63% of males
Tritanomaly #5a5473 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5f4e86 {
  color: #5f4e86;
}
Background
.bg-5f4e86 {
  background-color: #5f4e86;
  color: #ffffff;
}
Border
.border-5f4e86 {
  border: 2px solid #5f4e86;
}
CSS variables
:root {
  --color-primary: #5f4e86;
  --color-primary-rgb: 95 78 134;
  --color-primary-hsl: 258 26% 42%;
}
Gradient
.gradient-5f4e86 {
  background: linear-gradient(135deg, #5f4e86, #7b4e86);
}
Colored shadow
.shadow-5f4e86 {
  box-shadow: 0 8px 24px rgb(95 78 134 / 0.35);
}

Dark Slate Blue
#5f4e86  rgb(95, 78, 134)  hsl(258, 26%, 42%)  Dark Slate Blue
#75864e  rgb(117, 134, 78)  hsl(78, 26%, 42%)  Moss Green
#865f4e  rgb(134, 95, 78)  hsl(18, 26%, 42%)  Coffee
#4e865f  rgb(78, 134, 95)  hsl(138, 26%, 42%)  Sea Green