Eggplant Color — HEX, RGB, HSL & CMYK Codes

#380835
Format Value
HEX #380835
RGB rgb(56, 8, 53)
HSL hsl(303.8, 75%, 12.5%)
CMYK cmyk(0%, 85.7%, 5.4%, 78%)
HSV hsv(303.8, 85.7%, 22%)

eggplant color harmonies

Tints & shades of eggplant

Tints (lighter)

#4a1e47 #5c355a #6e4b6c #80627e #927891 #a58fa3 #b7a5b6 #c9bcc8 #dbd2da #ede9ed

Shades (darker)

#330730 #2e072b #290627 #240522 #1f041d #190418 #140313 #0f020e #0a010a #050105

Contrast & accessibility

The quick brown fox

On white · 16.74:1 · AAA

The quick brown fox

On black · 1.25:1 · Fail

Recommended text color: #ffffff

Use eggplant in code

CSS color: #380835;
SCSS $color: #380835;
Tailwind bg-[#380835]
Swift UIColor(red: 0.220, green: 0.031, blue: 0.208, alpha: 1)
Android Color.parseColor("#380835")
Flutter Color(0xFF380835)

Colors similar to eggplant

Browse all Pink colors →

What is the HEX code for eggplant?

The CSS color eggplant in HEX format is #380835. Use this value directly in CSS, SVG, and most design tools.

How do I use eggplant in CSS?

To apply eggplant in CSS:

  • Text color: color: #380835;
  • Background: background-color: #380835;
  • Border: border-color: #380835;

What are all the color format values for eggplant?

FormatValue
HEX#380835
RGBrgb(56, 8, 53)
HSLhsl(303.8, 75%, 12.5%)
CMYKcmyk(0%, 85.7%, 5.4%, 78%)

How do I convert eggplant to HEX?

Select eggplant from the color name list in our color converter. The HEX value — #380835 — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does eggplant belong to?

eggplant belongs to the pink color family. It is a dark, vivid color with HSL values: hue 303.8°, saturation 75%, lightness 12.5%.

How do I create lighter and darker shades of eggplant?

Lighter variant (lightness 27.5%): #7b1274. Darker variant (lightness 5%): #160315. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.

What is HEX used for?

HEX color codes are used in CSS, HTML and design tools. They encode red, green and blue as two hexadecimal digits each (00–FF), forming a compact 6-character code like #ff0000.