Isolated Anubis Black for shadcn/ui

Isolated Anubis Black is a shadcn/ui theme built around a muted deep purple primary color (#302433) with muted deep green accents (#263324). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep purple primary (#302433) on a neutral background (#030104).

Color palette

TokenLightDark
Background
#ffffffwhite
#030104black
Foreground
#0f0311black
#ffffffwhite
Card
#fcfcfcsnow
#070208black
Card foreground
#0b020dblack
#ffffffwhite
Popover
#fcfcfcsnow
#070208black
Popover foreground
#0b020dblack
#ffffffwhite
Primary
#302433darkslategray
#302433darkslategray
Primary foreground
#cbbacethistle
#cbbacethistle
Secondary
#263324darkslategray
#263324darkslategray
Secondary foreground
#becebasilver
#becebasilver
Muted
#e4e8e3gainsboro
#181c17black
Muted foreground
#434841darkslategray
#b8beb7silver
Accent
#263324darkslategray
#263324darkslategray
Accent foreground
#becebasilver
#becebasilver
Destructive
#8f220adarkred
#f04924orangered
Destructive foreground
#fcd7cfbisque
#ffffffwhite
Border
#f3f1f4whitesmoke
#271f28darkslategray
Input
#f3f1f4whitesmoke
#271f28darkslategray
Ring
#302433darkslategray
#302433darkslategray

Contrast

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

Light mode
Text on background20.16:1AAA
Text on card19.97:1AAA
Primary button8.03:1AAA
Secondary button8.06:1AAA
Muted text7.54:1AAA
Accent8.06:1AAA
Destructive6.55:1AA
Dark mode
Text on background20.76:1AAA
Text on card20.53:1AAA
Primary button8.03:1AAA
Secondary button8.06:1AAA
Muted text9.13:1AAA
Accent8.06:1AAA
Destructive3.69:1AA Large

CSS variables

Paste this into your globals.css to use Isolated Anubis Black in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.133 0.039 321.703);
  --muted: oklch(0.926 0.007 140.521);
  --muted-foreground: oklch(0.395 0.014 140.478);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.12 0.034 322.351);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.12 0.034 322.351);
  --border: oklch(0.96 0.005 320.539);
  --input: oklch(0.96 0.005 320.539);
  --primary: oklch(0.281 0.032 320.69);
  --primary-foreground: oklch(0.81 0.033 320.594);
  --secondary: oklch(0.304 0.031 140.386);
  --secondary-foreground: oklch(0.834 0.033 140.471);
  --accent: oklch(0.304 0.031 140.386);
  --accent-foreground: oklch(0.834 0.033 140.471);
  --destructive: oklch(0.43 0.148 33.435);
  --destructive-foreground: oklch(0.909 0.042 32.745);
  --ring: oklch(0.281 0.032 320.69);
  --chart-1: oklch(0.281 0.032 320.69);
  --chart-2: oklch(0.304 0.031 140.386);
  --chart-3: oklch(0.304 0.031 140.386);
  --chart-4: oklch(0.336 0.035 140.382);
  --chart-5: oklch(0.28 0.037 320.712);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.085 0.018 322.309);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.219 0.009 140.466);
  --muted-foreground: oklch(0.794 0.011 140.509);
  --popover: oklch(0.107 0.023 322.309);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.107 0.023 322.309);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.253 0.019 320.643);
  --input: oklch(0.253 0.019 320.643);
  --primary: oklch(0.281 0.032 320.69);
  --primary-foreground: oklch(0.81 0.033 320.594);
  --secondary: oklch(0.304 0.031 140.386);
  --secondary-foreground: oklch(0.834 0.033 140.471);
  --accent: oklch(0.304 0.031 140.386);
  --accent-foreground: oklch(0.834 0.033 140.471);
  --destructive: oklch(0.64 0.209 33.813);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.281 0.032 320.69);
  --chart-1: oklch(0.281 0.032 320.69);
  --chart-2: oklch(0.304 0.031 140.386);
  --chart-3: oklch(0.304 0.031 140.386);
  --chart-4: oklch(0.336 0.035 140.382);
  --chart-5: oklch(0.28 0.037 320.712);
}