#5F4E7B

#5f4e7b ≈ Dark Slate Blue

  • violet
  • Lightness: low
  • Saturation: muted
  • Cool

#5f4e7b is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 37.25% red, 30.59% green and 48.24% blue; printed in CMYK it uses 22.76% cyan, 36.59% magenta, 0% yellow and 51.76% black. Its hue angle is 262.67°, with 22.39% saturation and 39.41% 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.34:1 (WCAG AAA). The closest named color is Dark Slate Blue (#483d8b), ΔE 9.72.

Description generated from the measured properties of this color.

Conversions of #5f4e7b 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.0931

Readable text 7.34:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.86:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #565656 ≈ 0.003% of males
Achromatomaly #5a5367 ≈ 0.001% of males
Protanopia #44567d ≈ 1.01% of males
Deuteranopia #47567a ≈ 1.27% of males
Tritanopia #5a555f ≈ 0.0001% of males
Protanomaly #50537c ≈ 1.08% of males
Deuteranomaly #51537a ≈ 4.63% of males
Tritanomaly #5c526b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5f4e7b {
  color: #5f4e7b;
}
Background
.bg-5f4e7b {
  background-color: #5f4e7b;
  color: #ffffff;
}
Border
.border-5f4e7b {
  border: 2px solid #5f4e7b;
}
CSS variables
:root {
  --color-primary: #5f4e7b;
  --color-primary-rgb: 95 78 123;
  --color-primary-hsl: 263 22% 39%;
}
Gradient
.gradient-5f4e7b {
  background: linear-gradient(135deg, #5f4e7b, #754e7b);
}
Colored shadow
.shadow-5f4e7b {
  box-shadow: 0 8px 24px rgb(95 78 123 / 0.35);
}

Dark Slate Blue
#5f4e7b  rgb(95, 78, 123)  hsl(263, 22%, 39%)  Dark Slate Blue
#6a7b4e  rgb(106, 123, 78)  hsl(83, 22%, 39%)  Fern Green
#7b5f4e  rgb(123, 95, 78)  hsl(23, 22%, 39%)  Coffee
#4e7b5f  rgb(78, 123, 95)  hsl(143, 22%, 39%)  Viridian