#8A22BA

#8a22ba ≈ Dark Violet

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Cool

#8a22ba is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 54.12% red, 13.33% green and 72.94% blue; printed in CMYK it uses 25.81% cyan, 81.72% magenta, 0% yellow and 27.06% black. Its hue angle is 281.05°, with 69.09% saturation and 43.14% lightness in HSL. It is a cool color, 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 6.96:1 (WCAG AA). The closest named color is Dark Violet (#9400d3), ΔE 3.52.

Description generated from the measured properties of this color.

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

Readable text 6.96:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.02:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #595959 ≈ 0.003% of males
Achromatomaly #70498b ≈ 0.001% of males
Protanopia #0055be ≈ 1.01% of males
Deuteranopia #005bb7 ≈ 1.27% of males
Tritanopia #844970 ≈ 0.0001% of males
Protanomaly #4d46bc ≈ 1.08% of males
Deuteranomaly #594bb8 ≈ 4.63% of males
Tritanomaly #863d93 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a22ba {
  color: #8a22ba;
}
Background
.bg-8a22ba {
  background-color: #8a22ba;
  color: #ffffff;
}
Border
.border-8a22ba {
  border: 2px solid #8a22ba;
}
CSS variables
:root {
  --color-primary: #8a22ba;
  --color-primary-rgb: 138 34 186;
  --color-primary-hsl: 281 69% 43%;
}
Gradient
.gradient-8a22ba {
  background: linear-gradient(135deg, #8a22ba, #ba229e);
}
Colored shadow
.shadow-8a22ba {
  box-shadow: 0 8px 24px rgb(138 34 186 / 0.35);
}

Dark Violet
#8a22ba  rgb(138, 34, 186)  hsl(281, 69%, 43%)  Dark Violet
#52ba22  rgb(82, 186, 34)  hsl(101, 69%, 43%)  Kelly Green
#ba8a22  rgb(186, 138, 34)  hsl(41, 69%, 43%)  Dark Goldenrod
#22ba8a  rgb(34, 186, 138)  hsl(161, 69%, 43%)  Mint