Eggplant to HSL — Color Code

HSL

hsl(303.8, 75%, 12.5%)

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

What is the HSL code for eggplant?

The CSS color eggplant in HSL format is hsl(303.8, 75%, 12.5%). 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: hsl(303.8, 75%, 12.5%);
  • Background: background-color: hsl(303.8, 75%, 12.5%);
  • Border: border-color: hsl(303.8, 75%, 12.5%);

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 HSL?

Select eggplant from the color name list in our color converter. The HSL value — hsl(303.8, 75%, 12.5%) — 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 HSL used for?

HSL describes colors by hue (0–360°), saturation (0–100%) and lightness (0–100%). It is more intuitive for designers — easy to create lighter, darker or less saturated variants of any color.