#5A4B9D

#5a4b9d ≈ Dark Slate Blue

  • violet
  • Lightness: medium
  • Saturation: moderate
  • Cool

#5a4b9d is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 35.29% red, 29.41% green and 61.57% blue; printed in CMYK it uses 42.68% cyan, 52.23% magenta, 0% yellow and 38.43% black. Its hue angle is 250.98°, with 35.34% saturation and 45.49% 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 5.19.

Description generated from the measured properties of this color.

Conversions of #5a4b9d into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#663399
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 #585379 ≈ 0.001% of males
Protanopia #2759a0 ≈ 1.01% of males
Deuteranopia #28559b ≈ 1.27% of males
Tritanopia #475c6d ≈ 0.0001% of males
Protanomaly #41549f ≈ 1.08% of males
Deuteranomaly #41519c ≈ 4.63% of males
Tritanomaly #4f5683 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5a4b9d {
  color: #5a4b9d;
}
Background
.bg-5a4b9d {
  background-color: #5a4b9d;
  color: #ffffff;
}
Border
.border-5a4b9d {
  border: 2px solid #5a4b9d;
}
CSS variables
:root {
  --color-primary: #5a4b9d;
  --color-primary-rgb: 90 75 157;
  --color-primary-hsl: 251 35% 45%;
}
Gradient
.gradient-5a4b9d {
  background: linear-gradient(135deg, #5a4b9d, #834b9d);
}
Colored shadow
.shadow-5a4b9d {
  box-shadow: 0 8px 24px rgb(90 75 157 / 0.35);
}

Dark Slate Blue
#5a4b9d  rgb(90, 75, 157)  hsl(251, 35%, 45%)  Dark Slate Blue
#8e9d4b  rgb(142, 157, 75)  hsl(71, 35%, 45%)  Moss Green
#9d5a4b  rgb(157, 90, 75)  hsl(11, 35%, 45%)  Redwood
#4b9d5a  rgb(75, 157, 90)  hsl(131, 35%, 45%)  Shamrock Green