Add to Chrome

Eggplant color: hex codes, shades and palettes

Palettes built around eggplant. Click any swatch to copy its hex code.

A deep purple with brown in it, the colour of the vegetable skin. Dark and warm, which separates it from a cool violet at the same lightness.

Eggplant hex, RGB, HSL and OKLCH

#4B2E4A
HEX
#4B2E4A
RGB
rgb(75, 46, 74)
HSL
hsl(302, 24%, 24%)
OKLCH
oklch(34.8% 0.061 328.0)
On white
11.74:1
On black
1.79:1

Shades of eggplant

9 steps from one base color, generated in OKLCH so each step is an equal perceived step rather than an equal numeric one. Click a swatch to copy it.

Eggplant color values

#4B2E4Argb(75, 46, 74)
Color spaces of #4b2e4a
RGB754674
HSL302°24%24%
HSV302°39%29%
CMYK0.000.390.010.71
XYZ5.11463.94456.9692
Yxy3.94450.31910.2461
CIE-Lab23.487018.5649-11.9215
Hunter Lab19.860711.2116-6.9026
OKLCH34.8%0.061328.0°

#4B2E4A is 75 red, 46 green and 74 blue. No single channel dominates it. The nearest of the 216 web safe colors is #333333.

CIE-Lab, XYZ and Yxy are measured against D65, the white point sRGB itself is defined against. Hunter Lab uses the original illuminant C constants, which is what paint and plastics specifications quote, so the two Lab rows are not directly comparable. CMYK is the plain arithmetic conversion: real ink values depend on the press, the paper and the profile.

Base numbers
BaseRedGreenBlue
Binary010010110010111001001010
Octal11356112
Decimal754674
Hex4B2E4A

#4b2e4a mixed with black

Ten even steps of the classic shade ramp, worked out in RGB, which is how the term has always been defined and how other references list it. The OKLCH scale further down this page answers a different question: it steps by equal perceived amounts, so its values are not the same.

  • #4B2E4A
  • #432942
  • #3C243B
  • #342033
  • #2D1B2C
  • #251725
  • #1E121D
  • #160D16
  • #0E090E
  • #070407
  • #000000

#4b2e4a mixed with white

The tint ramp, by the same rule in the other direction.

  • #4B2E4A
  • #5D425C
  • #6F576E
  • #816C80
  • #938192
  • #A596A4
  • #B7ABB6
  • #C9C0C8
  • #DBD5DA
  • #EDEAEC
  • #FFFFFF

Channel shares

  • Red38.5%
  • Green23.6%
  • Blue37.9%

Color schemes

Turned in OKLCH rather than HSL, so every member keeps the lightness and chroma of the original instead of one of them arriving washed out.

Complementary

  • #4B2E4A
  • #224327

Triadic

  • #4B2E4A
  • #47380E
  • #00424A

Analogous

  • #4B2E4A
  • #532C3A
  • #3E3356

Monochromatic

  • #030003
  • #0C000D
  • #2B102B
  • #4B2E4A
  • #6D4E6C
  • #91708F
  • #B694B4

#4b2e4a on black and on white

The quick brown fox jumps over the lazy dog. 1.79:1

The quick brown fox jumps over the lazy dog. 11.74:1

Body text needs 4.5:1 to meet AA and large text needs 3:1, so a ratio tells you which of the two backgrounds this color can be read on, and at what size.

CSS for #4b2e4a

color: #4b2e4a;
background-color: #4b2e4a;
border: 3px solid #4b2e4a;
box-shadow: 1px 1px 3px 2px #4b2e4a;
text-shadow: 4px 4px 2px rgba(75, 46, 74, 0.8);

/* Perceptually even, and what a modern stylesheet wants */
color: oklch(34.8% 0.061 328.0);

The OKLCH form is the same color stated so that lightening or darkening it moves by an amount the eye agrees with. Every current browser understands it.

Contrast and readability

Eggplant on white measures 11.74:1 and on black 1.79:1. WCAG AA asks for 4.5:1 on normal text and 3:1 on large text and UI components, so the higher of those two decides which background it belongs on. In the scale above, 500 is the first to clear 4.5:1 on white, at 5.42:1.

The contrast checker reports every level for a given pair and suggests the nearest passing shade on the same hue. The color picker builds this same scale from any color you paste in.

Related colors: purple, lavender, violet, lilac, plum, indigo. See every shade on the colors index.

Get Palette Vault from the Microsoft Store