#7C42A0

#7c42a0 ≈ Royal Purple

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

#7c42a0 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 48.63% red, 25.88% green and 62.75% blue; printed in CMYK it uses 22.5% cyan, 58.75% magenta, 0% yellow and 37.25% black. Its hue angle is 277.02°, with 41.59% saturation and 44.31% 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 4.49.

Description generated from the measured properties of this color.

Conversions of #7c42a0 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.1072

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

Achromatopsia #5c5c5c ≈ 0.003% of males
Achromatomaly #6a537d ≈ 0.001% of males
Protanopia #2259a3 ≈ 1.01% of males
Deuteranopia #395d9e ≈ 1.27% of males
Tritanopia #77536a ≈ 0.0001% of males
Protanomaly #5551a2 ≈ 1.08% of males
Deuteranomaly #5b549f ≈ 4.63% of males
Tritanomaly #794d83 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7c42a0 {
  color: #7c42a0;
}
Background
.bg-7c42a0 {
  background-color: #7c42a0;
  color: #ffffff;
}
Border
.border-7c42a0 {
  border: 2px solid #7c42a0;
}
CSS variables
:root {
  --color-primary: #7c42a0;
  --color-primary-rgb: 124 66 160;
  --color-primary-hsl: 277 42% 44%;
}
Gradient
.gradient-7c42a0 {
  background: linear-gradient(135deg, #7c42a0, #a04295);
}
Colored shadow
.shadow-7c42a0 {
  box-shadow: 0 8px 24px rgb(124 66 160 / 0.35);
}

Royal Purple
#7c42a0  rgb(124, 66, 160)  hsl(277, 42%, 44%)  Royal Purple
#66a042  rgb(102, 160, 66)  hsl(97, 42%, 44%)  Olive Drab
#a07c42  rgb(160, 124, 66)  hsl(37, 42%, 44%)  Cafe au Lait
#42a07c  rgb(66, 160, 124)  hsl(157, 42%, 44%)  Jungle Green