Established Cultist Robe for shadcn/ui

Established Cultist Robe is a shadcn/ui theme built around a deep purple primary color (#330f2e) with neutral gray accents (#e4e2e4). The light mode uses a neutral background (#fdfcfd). Dark mode keeps the deep purple primary (#330f2e) on a purple-tinted background (#0b050a).

Color palette

TokenLightDark
Background
#fdfcfdwhite
#0b050ablack
Foreground
#0d020bblack
#fdfcfdwhite
Card
#fcf8fbsnow
#0e060dblack
Card foreground
#090208black
#ffffffwhite
Popover
#fcf8fbsnow
#0e060dblack
Popover foreground
#090208black
#ffffffwhite
Primary
#330f2eblack
#330f2eblack
Primary foreground
#e094d5plum
#e094d5plum
Secondary
#e4e2e4gainsboro
#212121black
Secondary foreground
#4d474cdarkslategray
#bbb9bbsilver
Muted
#f3ecf2whitesmoke
#130c12black
Muted foreground
#5c5c5cdimgray
#a3a3a3darkgray
Accent
#e4e2e4gainsboro
#212121black
Accent foreground
#4d474cdarkslategray
#bbb9bbsilver
Destructive
#a21606darkred
#f62a13orangered
Destructive foreground
#fee0ddmistyrose
#ffffffwhite
Border
#e9e7e9lavender
#1a191ablack
Input
#e9e7e9lavender
#1a191ablack
Ring
#330f2eblack
#330f2eblack

Contrast

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

Light mode
Text on background19.87:1AAA
Text on card19.50:1AAA
Primary button7.49:1AAA
Secondary button7.01:1AAA
Muted text5.77:1AA
Accent7.01:1AAA
Destructive6.36:1AA
Dark mode
Text on background19.76:1AAA
Text on card19.96:1AAA
Primary button7.49:1AAA
Secondary button8.25:1AAA
Muted text7.65:1AAA
Accent8.25:1AAA
Destructive3.98:1AA Large

CSS variables

Paste this into your globals.css to use Established Cultist Robe in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.003 330.281);
  --foreground: oklch(0.122 0.034 332.028);
  --muted: oklch(0.951 0.01 330.381);
  --muted-foreground: oklch(0.474 0 198.435);
  --popover: oklch(0.983 0.005 330.316);
  --popover-foreground: oklch(0.106 0.029 331.581);
  --card: oklch(0.983 0.005 330.316);
  --card-foreground: oklch(0.106 0.029 331.581);
  --border: oklch(0.93 0.002 330.276);
  --input: oklch(0.93 0.002 330.276);
  --primary: oklch(0.242 0.074 333.892);
  --primary-foreground: oklch(0.764 0.123 332.177);
  --secondary: oklch(0.915 0.004 330.296);
  --secondary-foreground: oklch(0.405 0.011 330.604);
  --accent: oklch(0.915 0.004 330.296);
  --accent-foreground: oklch(0.405 0.011 330.604);
  --destructive: oklch(0.457 0.175 30.521);
  --destructive-foreground: oklch(0.93 0.033 25.322);
  --ring: oklch(0.242 0.074 333.892);
  --chart-1: oklch(0.242 0.074 333.892);
  --chart-2: oklch(0.915 0.004 330.296);
  --chart-3: oklch(0.915 0.004 330.296);
  --chart-4: oklch(0.938 0.003 330.281);
  --chart-5: oklch(0.242 0.077 334.055);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.126 0.019 331.04);
  --foreground: oklch(0.992 0.001 330.259);
  --muted: oklch(0.166 0.015 331.391);
  --muted-foreground: oklch(0.716 0 165.964);
  --popover: oklch(0.14 0.021 331.701);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.14 0.021 331.701);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.215 0.003 330.452);
  --input: oklch(0.215 0.003 330.452);
  --primary: oklch(0.242 0.074 333.892);
  --primary-foreground: oklch(0.764 0.123 332.177);
  --secondary: oklch(0.248 0.001 330.321);
  --secondary-foreground: oklch(0.789 0.002 330.283);
  --accent: oklch(0.248 0.001 330.321);
  --accent-foreground: oklch(0.789 0.002 330.283);
  --destructive: oklch(0.626 0.238 30.487);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.242 0.074 333.892);
  --chart-1: oklch(0.242 0.074 333.892);
  --chart-2: oklch(0.248 0.001 330.321);
  --chart-3: oklch(0.248 0.001 330.321);
  --chart-4: oklch(0.28 0.002 330.326);
  --chart-5: oklch(0.242 0.077 334.055);
}