#704E8A

#704e8a ≈ Royal Purple

  • violet
  • Lightness: medium
  • Saturation: muted
  • Cool

#704e8a is a color from the violet family, with medium lightness and muted saturation. In the RGB model it is made of 43.92% red, 30.59% green and 54.12% blue; printed in CMYK it uses 18.84% cyan, 43.48% magenta, 0% yellow and 45.88% black. Its hue angle is 274°, with 27.78% saturation and 42.35% 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.68:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 6.24.

Description generated from the measured properties of this color.

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

Readable text 6.68:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.15:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5c5c5c ≈ 0.003% of males
Achromatomaly #655771 ≈ 0.001% of males
Protanopia #415b8c ≈ 1.01% of males
Deuteranopia #495d88 ≈ 1.27% of males
Tritanopia #6d5765 ≈ 0.0001% of males
Protanomaly #58568b ≈ 1.08% of males
Deuteranomaly #5b5789 ≈ 4.63% of males
Tritanomaly #6e5476 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-704e8a {
  color: #704e8a;
}
Background
.bg-704e8a {
  background-color: #704e8a;
  color: #ffffff;
}
Border
.border-704e8a {
  border: 2px solid #704e8a;
}
CSS variables
:root {
  --color-primary: #704e8a;
  --color-primary-rgb: 112 78 138;
  --color-primary-hsl: 274 28% 42%;
}
Gradient
.gradient-704e8a {
  background: linear-gradient(135deg, #704e8a, #8a4e86);
}
Colored shadow
.shadow-704e8a {
  box-shadow: 0 8px 24px rgb(112 78 138 / 0.35);
}

Royal Purple
#704e8a  rgb(112, 78, 138)  hsl(274, 28%, 42%)  Royal Purple
#688a4e  rgb(104, 138, 78)  hsl(94, 28%, 42%)  Fern Green
#8a704e  rgb(138, 112, 78)  hsl(34, 28%, 42%)  Raw Umber
#4e8a70  rgb(78, 138, 112)  hsl(154, 28%, 42%)  Viridian