#5A4D89

#5a4d89 ≈ Dark Slate Blue

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

#5a4d89 is a color from the violet family, with medium lightness and muted saturation. In the RGB model it is made of 35.29% red, 30.2% green and 53.73% blue; printed in CMYK it uses 34.31% cyan, 43.8% magenta, 0% yellow and 46.27% black. Its hue angle is 253°, with 28.04% saturation and 41.96% 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.35:1 (WCAG AAA). The closest named color is Dark Slate Blue (#483d8b), ΔE 6.23.

Description generated from the measured properties of this color.

Conversions of #5a4d89 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.0929

Readable text 7.35: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 #58526e ≈ 0.001% of males
Protanopia #3a578b ≈ 1.01% of males
Deuteranopia #3b5588 ≈ 1.27% of males
Tritanopia #4f5864 ≈ 0.0001% of males
Protanomaly #49538a ≈ 1.08% of males
Deuteranomaly #495288 ≈ 4.63% of males
Tritanomaly #545475 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5a4d89 {
  color: #5a4d89;
}
Background
.bg-5a4d89 {
  background-color: #5a4d89;
  color: #ffffff;
}
Border
.border-5a4d89 {
  border: 2px solid #5a4d89;
}
CSS variables
:root {
  --color-primary: #5a4d89;
  --color-primary-rgb: 90 77 137;
  --color-primary-hsl: 253 28% 42%;
}
Gradient
.gradient-5a4d89 {
  background: linear-gradient(135deg, #5a4d89, #784d89);
}
Colored shadow
.shadow-5a4d89 {
  box-shadow: 0 8px 24px rgb(90 77 137 / 0.35);
}

Dark Slate Blue
#5a4d89  rgb(90, 77, 137)  hsl(253, 28%, 42%)  Dark Slate Blue
#7c894d  rgb(124, 137, 77)  hsl(73, 28%, 42%)  Moss Green
#895a4d  rgb(137, 90, 77)  hsl(13, 28%, 42%)  Redwood
#4d895a  rgb(77, 137, 90)  hsl(133, 28%, 42%)  Sea Green