eggplant color code
The hex code for eggplant is #614051, which is rgb(97, 64, 81) in RGB and cmyk(0%, 34%, 16%, 62%) in CMYK. It's a dark, muted magenta. There is no official standard for eggplant; #614051 is the value most colour references use.
Build a full palette from it: open in the palette generator.
Move the sliders to find a lighter, darker or softer eggplant; the codes update as you go.
Eggplant colour codes
| HEX | #614051 |
|---|---|
| RGB | rgb(97, 64, 81) |
| HSL | hsl(329, 20%, 32%) |
| HSV / HSB | hsv(329, 34%, 38%) |
| CMYK | cmyk(0%, 34%, 16%, 62%) |
| Decimal | 6373457 |
About eggplant
Eggplant sits at a hue of 329° on the colour wheel, with 20% saturation and 32% lightness. That makes it a colour that sits between warm and cool: greens and purples like this can be styled warm or cool depending on what you put next to them.
A dark purple named after the skin of the eggplant (aubergine).
For text, white reads better on eggplant. Eggplant as text on a white background has a contrast ratio of 8.89:1, which passes the WCAG AA rule for body text (4.5:1). On black it is 2.36:1, which fails AA for body text.
Tints and shades of eggplant
Tints mix eggplant with white and shades mix it with black, in 10% steps. They're the easiest way to get lighter backgrounds and darker hover or text colours that still match.
Colours that go with eggplant
Complementary — opposite on the colour wheel: maximum contrast
Analogous — neighbours 30° either side: calm and natural
Triadic — three hues 120° apart: lively but balanced
Split complementary — the two neighbours of the complement: contrast with less tension
Tetradic — four hues 90° apart: rich, use one as the main colour
Eggplant text contrast
| Combination | Ratio | AA normal (4.5:1) | AA large (3:1) | AAA (7:1) |
|---|---|---|---|---|
| eggplant on white | 8.89:1 | pass | pass | pass |
| eggplant on black | 2.36:1 | fail | fail | fail |
Check eggplant against any other colour in the contrast checker.
How eggplant looks with colour blindness
Simulated with the Machado et al. (2009) model for the complete loss of one type of cone cell. Colour vision deficiency affects roughly 1 in 12 men and 1 in 200 women, most often as red-green colour blindness.
Use eggplant in code
.eggplant {
color: #614051;
background-color: #614051;
border-color: rgb(97, 64, 81);
}Frequently asked questions
What is the hex code for eggplant?
#614051 is the most widely used value for eggplant. There's no official standard, so paint, fabric and brand swatches called eggplant can differ slightly; use the hex code to match it exactly on screen.
What is eggplant in RGB, HSL and CMYK?
RGB: rgb(97, 64, 81). HSL: hsl(329, 20%, 32%). CMYK: cmyk(0%, 34%, 16%, 62%). CMYK is a simple conversion for reference; for professional printing, ask your printer for a matching ink or Pantone swatch.
What colours go with eggplant?
Its complementary colour is #406150 (close to hunter green), which gives the strongest contrast. For a calmer look, use the analogous colours #614061 and #614040, or the triadic pair #516140 and #405161. Tints and shades of eggplant itself always work together.
Is eggplant a warm or cool colour?
Eggplant has a hue of 329°, which makes it neither clearly warm nor cool.
Should I use black or white text on eggplant?
White. Black text on eggplant has a contrast ratio of 2.36:1 and white text has 8.89:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.
Is eggplant a CSS colour name?
No. Eggplant isn't one of the named colours built into CSS, so write it as a hex code: color: #614051;