#8A3198

#8a3198 ≈ Dark Magenta

  • magenta
  • Lightness: low
  • Saturation: moderate
  • Balanced

#8a3198 is a color from the magenta family, with low lightness and moderate saturation. In the RGB model it is made of 54.12% red, 19.22% green and 59.61% blue; printed in CMYK it uses 9.21% cyan, 67.76% magenta, 0% yellow and 40.39% black. Its hue angle is 291.84°, with 51.24% saturation and 39.41% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 7.06:1 (WCAG AAA). The closest named color is Dark Magenta (#8b008b), ΔE 5.33.

Description generated from the measured properties of this color.

Conversions of #8a3198 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#993399
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0987

Readable text 7.06:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.97:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #585858 ≈ 0.003% of males
Achromatomaly #704c77 ≈ 0.001% of males
Protanopia #13529b ≈ 1.01% of males
Deuteranopia #3e5c95 ≈ 1.27% of males
Tritanopia #8c4260 ≈ 0.0001% of males
Protanomaly #5b479a ≈ 1.08% of males
Deuteranomaly #654e96 ≈ 4.63% of males
Tritanomaly #8b3c7a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a3198 {
  color: #8a3198;
}
Background
.bg-8a3198 {
  background-color: #8a3198;
  color: #ffffff;
}
Border
.border-8a3198 {
  border: 2px solid #8a3198;
}
CSS variables
:root {
  --color-primary: #8a3198;
  --color-primary-rgb: 138 49 152;
  --color-primary-hsl: 292 51% 39%;
}
Gradient
.gradient-8a3198 {
  background: linear-gradient(135deg, #8a3198, #983173);
}
Colored shadow
.shadow-8a3198 {
  box-shadow: 0 8px 24px rgb(138 49 152 / 0.35);
}

Dark Magenta
#8a3198  rgb(138, 49, 152)  hsl(292, 51%, 39%)  Dark Magenta
#3f9831  rgb(63, 152, 49)  hsl(112, 51%, 39%)  Islamic Green
#988a31  rgb(152, 138, 49)  hsl(52, 51%, 39%)  Olive
#31988a  rgb(49, 152, 138)  hsl(172, 51%, 39%)  Persian Green