Cured Eggplant Lamprey for shadcn/ui

Cured Eggplant Lamprey is a shadcn/ui theme built around a vivid deep purple primary color (#380535) with vivid deep green accents (#053808). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep purple primary (#380535) on a neutral background (#070307).

Color palette

TokenLightDark
Background
#ffffffwhite
#070307black
Foreground
#090208black
#fdfcfdwhite
Card
#ffffffwhite
#070307black
Card foreground
#090208black
#fdfcfdwhite
Popover
#ffffffwhite
#070307black
Popover foreground
#090208black
#fdfcfdwhite
Primary
#380535midnightblue
#380535midnightblue
Primary foreground
#f37cedviolet
#f37cedviolet
Secondary
#053808darkgreen
#053808darkgreen
Secondary foreground
#1fea29limegreen
#1fea29limegreen
Muted
#d3dfd3lightgrey
#202c21darkslategray
Muted foreground
#545f54dimgray
#a0aba1darkgray
Accent
#053808darkgreen
#053808darkgreen
Accent foreground
#1fea29limegreen
#1fea29limegreen
Destructive
#a21c01darkred
#fe340borangered
Destructive foreground
#ffddd6mistyrose
#ffffffwhite
Border
#eae6ealavender
#272126darkslategray
Input
#eae6ealavender
#272126darkslategray
Ring
#380535midnightblue
#380535midnightblue

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background20.51:1AAA
Text on card20.51:1AAA
Primary button7.17:1AAA
Secondary button8.16:1AAA
Muted text4.85:1AA
Accent8.16:1AAA
Destructive6.11:1AA
Dark mode
Text on background20.00:1AAA
Text on card20.00:1AAA
Primary button7.17:1AAA
Secondary button8.16:1AAA
Muted text6.09:1AA
Accent8.16:1AAA
Destructive3.68:1AA Large

CSS variables

Paste this into your globals.css to use Cured Eggplant Lamprey in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.107 0.03 328.736);
  --muted: oklch(0.891 0.02 146.823);
  --muted-foreground: oklch(0.472 0.021 146.616);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.107 0.03 328.736);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.107 0.03 328.736);
  --border: oklch(0.929 0.006 327.099);
  --input: oklch(0.929 0.006 327.099);
  --primary: oklch(0.243 0.1 330.388);
  --primary-foreground: oklch(0.759 0.197 329.19);
  --secondary: oklch(0.298 0.092 143.487);
  --secondary-foreground: oklch(0.815 0.265 142.994);
  --accent: oklch(0.298 0.092 143.487);
  --accent-foreground: oklch(0.815 0.265 142.994);
  --destructive: oklch(0.461 0.172 32.325);
  --destructive-foreground: oklch(0.924 0.039 31.18);
  --ring: oklch(0.243 0.1 330.388);
  --chart-1: oklch(0.243 0.1 330.388);
  --chart-2: oklch(0.298 0.092 143.487);
  --chart-3: oklch(0.298 0.092 143.487);
  --chart-4: oklch(0.344 0.108 143.295);
  --chart-5: oklch(0.244 0.102 330.457);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.111 0.017 328.001);
  --foreground: oklch(0.992 0.001 327.052);
  --muted: oklch(0.279 0.027 146.089);
  --muted-foreground: oklch(0.73 0.019 146.796);
  --popover: oklch(0.111 0.017 328.001);
  --popover-foreground: oklch(0.992 0.001 327.052);
  --card: oklch(0.111 0.017 328.001);
  --card-foreground: oklch(0.992 0.001 327.052);
  --border: oklch(0.256 0.013 327.5);
  --input: oklch(0.256 0.013 327.5);
  --primary: oklch(0.243 0.1 330.388);
  --primary-foreground: oklch(0.759 0.197 329.19);
  --secondary: oklch(0.298 0.092 143.487);
  --secondary-foreground: oklch(0.815 0.265 142.994);
  --accent: oklch(0.298 0.092 143.487);
  --accent-foreground: oklch(0.815 0.265 142.994);
  --destructive: oklch(0.645 0.239 32.126);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.243 0.1 330.388);
  --chart-1: oklch(0.243 0.1 330.388);
  --chart-2: oklch(0.298 0.092 143.487);
  --chart-3: oklch(0.298 0.092 143.487);
  --chart-4: oklch(0.344 0.108 143.295);
  --chart-5: oklch(0.244 0.102 330.457);
}