#3A334C

#3a334c ≈ Eggplant

  • violet
  • Lightness: low
  • Saturation: muted
  • Cool

#3a334c is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 22.75% red, 20% green and 29.8% blue; printed in CMYK it uses 23.68% cyan, 32.89% magenta, 0% yellow and 70.2% black. Its hue angle is 256.8°, with 19.69% saturation and 24.9% 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 11.95:1 (WCAG AAA). The closest named color is Eggplant (#614051), ΔE 11.89.

Description generated from the measured properties of this color.

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

Readable text 11.95:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.76:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #373737 ≈ 0.003% of males
Achromatomaly #383540 ≈ 0.001% of males
Protanopia #2d374d ≈ 1.01% of males
Deuteranopia #2e364b ≈ 1.27% of males
Tritanopia #37373c ≈ 0.0001% of males
Protanomaly #33354d ≈ 1.08% of males
Deuteranomaly #33354c ≈ 4.63% of males
Tritanomaly #383543 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-3a334c {
  color: #3a334c;
}
Background
.bg-3a334c {
  background-color: #3a334c;
  color: #ffffff;
}
Border
.border-3a334c {
  border: 2px solid #3a334c;
}
CSS variables
:root {
  --color-primary: #3a334c;
  --color-primary-rgb: 58 51 76;
  --color-primary-hsl: 257 20% 25%;
}
Gradient
.gradient-3a334c {
  background: linear-gradient(135deg, #3a334c, #46334c);
}
Colored shadow
.shadow-3a334c {
  box-shadow: 0 8px 24px rgb(58 51 76 / 0.35);
}

Eggplant
#3a334c  rgb(58, 51, 76)  hsl(257, 20%, 25%)  Eggplant
#454c33  rgb(69, 76, 51)  hsl(77, 20%, 25%)  Rifle Green
#4c3a33  rgb(76, 58, 51)  hsl(17, 20%, 25%)  Taupe
#334c3a  rgb(51, 76, 58)  hsl(137, 20%, 25%)  Rifle Green