#704BAF

#704baf ≈ Royal Purple

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

#704baf is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 43.92% red, 29.41% green and 68.63% blue; printed in CMYK it uses 36% cyan, 57.14% magenta, 0% yellow and 31.37% black. Its hue angle is 262.2°, with 40% saturation and 49.02% 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.34:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 2.92.

Description generated from the measured properties of this color.

Conversions of #704baf 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.1157

Readable text 6.34:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.31:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #606060 ≈ 0.003% of males
Achromatomaly #665887 ≈ 0.001% of males
Protanopia #1b60b2 ≈ 1.01% of males
Deuteranopia #295ead ≈ 1.27% of males
Tritanopia #626076 ≈ 0.0001% of males
Protanomaly #4c58b1 ≈ 1.08% of males
Deuteranomaly #4f57ae ≈ 4.63% of males
Tritanomaly #685890 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-704baf {
  color: #704baf;
}
Background
.bg-704baf {
  background-color: #704baf;
  color: #ffffff;
}
Border
.border-704baf {
  border: 2px solid #704baf;
}
CSS variables
:root {
  --color-primary: #704baf;
  --color-primary-rgb: 112 75 175;
  --color-primary-hsl: 262 40% 49%;
}
Gradient
.gradient-704baf {
  background: linear-gradient(135deg, #704baf, #a24baf);
}
Colored shadow
.shadow-704baf {
  box-shadow: 0 8px 24px rgb(112 75 175 / 0.35);
}

Royal Purple
#704baf  rgb(112, 75, 175)  hsl(262, 40%, 49%)  Royal Purple
#8aaf4b  rgb(138, 175, 75)  hsl(82, 40%, 49%)  Olivine
#af704b  rgb(175, 112, 75)  hsl(22, 40%, 49%)  Cafe au Lait
#4baf70  rgb(75, 175, 112)  hsl(142, 40%, 49%)  Medium Sea Green