Blackcurrant Clownfish for shadcn/ui

Blackcurrant Clownfish is a shadcn/ui theme built around a deep purple primary color (#2e1736) with deep teal accents (#17362e). The light mode uses a neutral background (#fdfbfe). Dark mode keeps the deep purple primary (#2e1736) on a neutral background (#030104).

Color palette

TokenLightDark
Background
#fdfbfewhite
#030104black
Foreground
#040104black
#ffffffwhite
Card
#fdfbfewhite
#030104black
Card foreground
#040104black
#ffffffwhite
Popover
#fdfbfewhite
#030104black
Popover foreground
#040104black
#ffffffwhite
Primary
#2e1736darkslategray
#2e1736darkslategray
Primary foreground
#cda6d9plum
#cda6d9plum
Secondary
#362e17darkslategray
#362e17darkslategray
Secondary foreground
#d9cda6palegoldenrod
#d9cda6palegoldenrod
Muted
#e4e4e2gainsboro
#1d1d1bblack
Muted foreground
#716b56dimgray
#a9a38erosybrown
Accent
#17362edarkslategray
#17362edarkslategray
Accent foreground
#a6d9cdlightblue
#a6d9cdlightblue
Destructive
#6c2704maroon
#f65b0eorangered
Destructive foreground
#fcc3a6navajowhite
#000000black
Border
#eeecefwhitesmoke
#201c21black
Input
#eeecefwhitesmoke
#201c21black
Ring
#2e1736darkslategray
#2e1736darkslategray

Contrast

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

Light mode
Text on background20.15:1AAA
Text on card20.15:1AAA
Primary button7.77:1AAA
Secondary button8.46:1AAA
Muted text4.18:1AA Large
Accent8.41:1AAA
Destructive6.99:1AA
Dark mode
Text on background20.75:1AAA
Text on card20.75:1AAA
Primary button7.77:1AAA
Secondary button8.46:1AAA
Muted text6.69:1AA
Accent8.41:1AAA
Destructive6.44:1AA

CSS variables

Paste this into your globals.css to use Blackcurrant Clownfish in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.005 318.325);
  --foreground: oklch(0.082 0.024 320.774);
  --muted: oklch(0.918 0.003 92.689);
  --muted-foreground: oklch(0.527 0.033 93.118);
  --popover: oklch(0.99 0.005 318.325);
  --popover-foreground: oklch(0.082 0.024 320.774);
  --card: oklch(0.99 0.005 318.325);
  --card-foreground: oklch(0.082 0.024 320.774);
  --border: oklch(0.945 0.005 318.325);
  --input: oklch(0.945 0.005 318.325);
  --primary: oklch(0.252 0.063 317.921);
  --primary-foreground: oklch(0.776 0.083 318.217);
  --secondary: oklch(0.304 0.039 92.971);
  --secondary-foreground: oklch(0.848 0.054 93.12);
  --accent: oklch(0.305 0.039 176.405);
  --accent-foreground: oklch(0.846 0.055 178.966);
  --destructive: oklch(0.371 0.108 42.14);
  --destructive-foreground: oklch(0.861 0.076 47.818);
  --ring: oklch(0.252 0.063 317.921);
  --chart-1: oklch(0.252 0.063 317.921);
  --chart-2: oklch(0.304 0.039 92.971);
  --chart-3: oklch(0.305 0.039 176.405);
  --chart-4: oklch(0.341 0.045 92.919);
  --chart-5: oklch(0.252 0.068 317.861);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.086 0.015 319.841);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.23 0.004 92.828);
  --muted-foreground: oklch(0.715 0.031 93.017);
  --popover: oklch(0.086 0.015 319.841);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.086 0.015 319.841);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.233 0.012 318.278);
  --input: oklch(0.233 0.012 318.278);
  --primary: oklch(0.252 0.063 317.921);
  --primary-foreground: oklch(0.776 0.083 318.217);
  --secondary: oklch(0.304 0.039 92.971);
  --secondary-foreground: oklch(0.848 0.054 93.12);
  --accent: oklch(0.305 0.039 176.405);
  --accent-foreground: oklch(0.846 0.055 178.966);
  --destructive: oklch(0.669 0.203 40.567);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.252 0.063 317.921);
  --chart-1: oklch(0.252 0.063 317.921);
  --chart-2: oklch(0.304 0.039 92.971);
  --chart-3: oklch(0.305 0.039 176.405);
  --chart-4: oklch(0.341 0.045 92.919);
  --chart-5: oklch(0.252 0.068 317.861);
}