Export

Code

/* Eggplant Violet — colorset.net */
:root {
  --color-1: #301934;
  --color-2: #4B0082;
  --color-3: #663399;
  --color-4: #8A2BE2;
  --color-5: #9932CC;

  --color-bg: #FAF4FF;
  --color-surface: #F2EAF8;
  --color-border: #DAD1E1;
  --color-text: #301934;
  --color-muted: #77647A;
  --color-primary: #8A2BE2;
  --color-on-primary: #FFFFFF;
  --color-accent: #4B0082;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #301934;
    --color-surface: #3C2440;
    --color-border: #4E3D51;
    --color-text: #C6B2D3;
    --color-muted: #9C8EA7;
    --color-primary: #9C44F7;
    --color-on-primary: #FFFFFF;
    --color-accent: #8A6E8E;
    --color-on-accent: #000000;
  }
}

Color values

ColorHEXRGBHSLOKLCH
1
2
3
4
5

Roles & contrast

Original colors are kept; roles are adjusted only when needed for contrast.

RoleLight modeDark mode
Backgroundadjusted for contrast · from #9932CCfrom palette · color 1
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1adjusted for contrast · from #9932CC
Muted textderivedderived
Primaryfrom palette · color 4adjusted for contrast · from #8A2BE2
On primaryderivedderived
Accentfrom palette · color 2adjusted for contrast · from #663399
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background14.80:1AAA pass 4.5:1
Text on surface13.62:1AAA pass 4.5:1
Muted text on background5.00:1AA pass 4.5:1
Label on primary5.96:1AA pass 4.5:1
Label on accent12.95:1AAA pass 4.5:1
Primary on background5.52:1AA pass 3:1
Accent on background11.99:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background8.15:1AAA pass 4.5:1
Text on surface7.05:1AAA pass 4.5:1
Muted text on background5.20:1AA pass 4.5:1
Label on primary4.58:1AA pass 4.5:1
Label on accent4.70:1AA pass 4.5:1
Primary on background3.49:1AA Large pass 3:1
Accent on background3.58:1AA Large pass 3:1

Every color on every color

Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.

Every color on every color
Background / Text#301934 (Text 1)#4B0082 (Text 2)#663399 (Text 3)#8A2BE2 (Text 4)#9932CC (Text 5)
#301934Same color1.23—1.90—2.68—2.80—
#4B00821.23—Same color1.54—2.17—2.27—
#6633991.90—1.54—Same color1.41—1.47—
#8A2BE22.68—2.17—1.41—Same color1.04—
#9932CC2.80—2.27—1.47—1.04—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#301934#4B0082#663399#8A2BE2#9932CC

Variations

About Eggplant Violet

Eggplant Violet brings together a deep purple, two dark purples and two vivid purples (#301934, #4B0082, #663399, #8A2BE2, #9932CC) in a cool, purple-led scheme. All hues sit within 20° of each other, so deep purple #301934 and its relatives form a cohesive monochromatic scheme. From #301934 to #9932CC the colors share a similar mid-tone value (lightness 26%–54%), which suits fills and illustration more than body text. Average chroma is 0.175, high for a palette, so the colors feel saturated and energetic; the most saturated color is #8A2BE2. In light mode #FAF4FF becomes the background with #301934 text at 14.8:1, and #8A2BE2 takes the primary role. Try it for music and nightlife, premium products and focused single-product sites, letting vivid purple #8A2BE2 carry the key actions.

Eggplant Violet color palette: #301934, #4B0082, #663399, #8A2BE2, #9932CC
Share image for Eggplant Violet

Gradients in similar colors