#4C2A79

#4c2a79 ≈ Dark Slate Blue

  • violet
  • Lightness: low
  • Saturation: moderate
  • Cool

#4c2a79 is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 29.8% red, 16.47% green and 47.45% blue; printed in CMYK it uses 37.19% cyan, 65.29% magenta, 0% yellow and 52.55% black. Its hue angle is 265.82°, with 48.47% saturation and 31.96% 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 corporate identities. White text on this color reaches a contrast ratio of 10.97:1 (WCAG AAA). The closest named color is Dark Slate Blue (#483d8b), ΔE 6.48.

Description generated from the measured properties of this color.

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

Readable text 10.97:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.91:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3c3c3c ≈ 0.003% of males
Achromatomaly #43365b ≈ 0.001% of males
Protanopia #003c7b ≈ 1.01% of males
Deuteranopia #0a3c77 ≈ 1.27% of males
Tritanopia #423b4d ≈ 0.0001% of males
Protanomaly #2d367a ≈ 1.08% of males
Deuteranomaly #313578 ≈ 4.63% of males
Tritanomaly #463562 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4c2a79 {
  color: #4c2a79;
}
Background
.bg-4c2a79 {
  background-color: #4c2a79;
  color: #ffffff;
}
Border
.border-4c2a79 {
  border: 2px solid #4c2a79;
}
CSS variables
:root {
  --color-primary: #4c2a79;
  --color-primary-rgb: 76 42 121;
  --color-primary-hsl: 266 48% 32%;
}
Gradient
.gradient-4c2a79 {
  background: linear-gradient(135deg, #4c2a79, #732a79);
}
Colored shadow
.shadow-4c2a79 {
  box-shadow: 0 8px 24px rgb(76 42 121 / 0.35);
}

Dark Slate Blue
#4c2a79  rgb(76, 42, 121)  hsl(266, 48%, 32%)  Dark Slate Blue
#57792a  rgb(87, 121, 42)  hsl(86, 48%, 32%)  Sap Green
#794c2a  rgb(121, 76, 42)  hsl(26, 48%, 32%)  Russet
#2a794c  rgb(42, 121, 76)  hsl(146, 48%, 32%)  Cadmium Green