#513A8A

#513a8a ≈ Dark Slate Blue

  • violet
  • Lightness: low
  • Saturation: moderate
  • Cool

#513a8a is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 31.76% red, 22.75% green and 54.12% blue; printed in CMYK it uses 41.3% cyan, 57.97% magenta, 0% yellow and 45.88% black. Its hue angle is 257.25°, with 40.82% saturation and 38.43% 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 9.04:1 (WCAG AAA). The closest named color is Dark Slate Blue (#483d8b), ΔE 2.46.

Description generated from the measured properties of this color.

Conversions of #513a8a 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.0661

Readable text 9.04:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.32:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #494949 ≈ 0.003% of males
Achromatomaly #4c4369 ≈ 0.001% of males
Protanopia #104a8d ≈ 1.01% of males
Deuteranopia #174788 ≈ 1.27% of males
Tritanopia #424b5c ≈ 0.0001% of males
Protanomaly #35448c ≈ 1.08% of males
Deuteranomaly #374289 ≈ 4.63% of males
Tritanomaly #484571 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-513a8a {
  color: #513a8a;
}
Background
.bg-513a8a {
  background-color: #513a8a;
  color: #ffffff;
}
Border
.border-513a8a {
  border: 2px solid #513a8a;
}
CSS variables
:root {
  --color-primary: #513a8a;
  --color-primary-rgb: 81 58 138;
  --color-primary-hsl: 257 41% 38%;
}
Gradient
.gradient-513a8a {
  background: linear-gradient(135deg, #513a8a, #793a8a);
}
Colored shadow
.shadow-513a8a {
  box-shadow: 0 8px 24px rgb(81 58 138 / 0.35);
}

Dark Slate Blue
#513a8a  rgb(81, 58, 138)  hsl(257, 41%, 38%)  Dark Slate Blue
#738a3a  rgb(115, 138, 58)  hsl(77, 41%, 38%)  Olive Drab
#8a513a  rgb(138, 81, 58)  hsl(17, 41%, 38%)  Chestnut
#3a8a51  rgb(58, 138, 81)  hsl(137, 41%, 38%)  Sea Green