#5D4E8B

#5d4e8b ≈ Dark Slate Blue

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

#5d4e8b is a color from the violet family, with medium lightness and muted saturation. In the RGB model it is made of 36.47% red, 30.59% green and 54.51% blue; printed in CMYK it uses 33.09% cyan, 43.88% magenta, 0% yellow and 45.49% black. Its hue angle is 254.75°, with 28.11% saturation and 42.55% 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 6.65.

Description generated from the measured properties of this color.

Conversions of #5d4e8b 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.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 #5a5470 ≈ 0.001% of males
Protanopia #3b588d ≈ 1.01% of males
Deuteranopia #3d5689 ≈ 1.27% of males
Tritanopia #525966 ≈ 0.0001% of males
Protanomaly #4b548c ≈ 1.08% of males
Deuteranomaly #4c538a ≈ 4.63% of males
Tritanomaly #575576 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5d4e8b {
  color: #5d4e8b;
}
Background
.bg-5d4e8b {
  background-color: #5d4e8b;
  color: #ffffff;
}
Border
.border-5d4e8b {
  border: 2px solid #5d4e8b;
}
CSS variables
:root {
  --color-primary: #5d4e8b;
  --color-primary-rgb: 93 78 139;
  --color-primary-hsl: 255 28% 43%;
}
Gradient
.gradient-5d4e8b {
  background: linear-gradient(135deg, #5d4e8b, #7b4e8b);
}
Colored shadow
.shadow-5d4e8b {
  box-shadow: 0 8px 24px rgb(93 78 139 / 0.35);
}

Dark Slate Blue
#5d4e8b  rgb(93, 78, 139)  hsl(255, 28%, 43%)  Dark Slate Blue
#7c8b4e  rgb(124, 139, 78)  hsl(75, 28%, 43%)  Moss Green
#8b5d4e  rgb(139, 93, 78)  hsl(15, 28%, 43%)  Redwood
#4e8b5d  rgb(78, 139, 93)  hsl(135, 28%, 43%)  Sea Green