#804AAA

#804aaa ≈ Royal Purple

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

#804aaa is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 50.2% red, 29.02% green and 66.67% blue; printed in CMYK it uses 24.71% cyan, 56.47% magenta, 0% yellow and 33.33% black. Its hue angle is 273.75°, with 39.34% saturation and 47.84% 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 6.04:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 2.64.

Description generated from the measured properties of this color.

Conversions of #804aaa 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.1239

Readable text 6.04:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.48:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #636363 ≈ 0.003% of males
Achromatomaly #705a85 ≈ 0.001% of males
Protanopia #2961ad ≈ 1.01% of males
Deuteranopia #3d63a8 ≈ 1.27% of males
Tritanopia #7a5c73 ≈ 0.0001% of males
Protanomaly #5958ac ≈ 1.08% of males
Deuteranomaly #5f5aa9 ≈ 4.63% of males
Tritanomaly #7c558c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-804aaa {
  color: #804aaa;
}
Background
.bg-804aaa {
  background-color: #804aaa;
  color: #ffffff;
}
Border
.border-804aaa {
  border: 2px solid #804aaa;
}
CSS variables
:root {
  --color-primary: #804aaa;
  --color-primary-rgb: 128 74 170;
  --color-primary-hsl: 274 39% 48%;
}
Gradient
.gradient-804aaa {
  background: linear-gradient(135deg, #804aaa, #aa4aa4);
}
Colored shadow
.shadow-804aaa {
  box-shadow: 0 8px 24px rgb(128 74 170 / 0.35);
}

Royal Purple
#804aaa  rgb(128, 74, 170)  hsl(274, 39%, 48%)  Royal Purple
#74aa4a  rgb(116, 170, 74)  hsl(94, 39%, 48%)  Asparagus
#aa804a  rgb(170, 128, 74)  hsl(34, 39%, 48%)  Cafe au Lait
#4aaa80  rgb(74, 170, 128)  hsl(154, 39%, 48%)  Mint