False for shadcn/ui

False is a shadcn/ui theme built around a vivid deep violet primary color (#2b0689) with vivid deep purple accents (#6d0689). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the vivid deep violet primary (#2b0689) on a violet-tinted background (#080410).

Color palette

TokenLightDark
Background
#fcfbfewhite
#080410black
Foreground
#06030cblack
#faf9fasnow
Card
#fcfbfewhite
#080410black
Card foreground
#06030cblack
#faf9fasnow
Popover
#fcfbfewhite
#080410black
Popover foreground
#06030cblack
#faf9fasnow
Primary
#2b0689indigo
#2b0689indigo
Primary foreground
#d4c4fdthistle
#d4c4fdthistle
Secondary
#062289midnightblue
#062289midnightblue
Secondary foreground
#c4d0fdlightblue
#c4d0fdlightblue
Muted
#e8e9edlavender
#121317black
Muted foreground
#464953darkslategray
#acafb9darkgray
Accent
#6d0689purple
#6d0689purple
Accent foreground
#f0c4fdlavender
#f0c4fdlavender
Destructive
#b24506saddlebrown
#f9792ftomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#2b0689indigo
#2b0689indigo

Contrast

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

Light mode
Text on background19.87:1AAA
Text on card19.87:1AAA
Primary button8.80:1AAA
Secondary button8.61:1AAA
Muted text7.40:1AAA
Accent6.89:1AA
Destructive5.60:1AA
Dark mode
Text on background19.30:1AAA
Text on card19.30:1AAA
Primary button8.80:1AAA
Secondary button8.61:1AAA
Muted text8.49:1AAA
Accent6.89:1AA
Destructive7.79:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.003 299.247);
  --foreground: oklch(0.111 0.028 299.069);
  --muted: oklch(0.934 0.006 273.79);
  --muted-foreground: oklch(0.407 0.016 273.37);
  --popover: oklch(0.99 0.003 299.247);
  --popover-foreground: oklch(0.111 0.028 299.069);
  --card: oklch(0.99 0.003 299.247);
  --card-foreground: oklch(0.111 0.028 299.069);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.313 0.183 280.344);
  --primary-foreground: oklch(0.853 0.079 297.687);
  --secondary: oklch(0.324 0.171 264.623);
  --secondary-foreground: oklch(0.864 0.063 272.912);
  --accent: oklch(0.398 0.19 316.285);
  --accent-foreground: oklch(0.877 0.089 318.847);
  --destructive: oklch(0.532 0.155 42.833);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.313 0.183 280.344);
  --chart-1: oklch(0.313 0.183 280.344);
  --chart-2: oklch(0.324 0.171 264.623);
  --chart-3: oklch(0.398 0.19 316.285);
  --chart-4: oklch(0.348 0.185 264.585);
  --chart-5: oklch(0.314 0.187 279.538);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.03 297.964);
  --foreground: oklch(0.984 0.001 299.28);
  --muted: oklch(0.186 0.009 273.238);
  --muted-foreground: oklch(0.755 0.014 273.649);
  --popover: oklch(0.124 0.03 297.964);
  --popover-foreground: oklch(0.984 0.001 299.28);
  --card: oklch(0.124 0.03 297.964);
  --card-foreground: oklch(0.984 0.001 299.28);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.313 0.183 280.344);
  --primary-foreground: oklch(0.853 0.079 297.687);
  --secondary: oklch(0.324 0.171 264.623);
  --secondary-foreground: oklch(0.864 0.063 272.912);
  --accent: oklch(0.398 0.19 316.285);
  --accent-foreground: oklch(0.877 0.089 318.847);
  --destructive: oklch(0.714 0.177 46.717);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.313 0.183 280.344);
  --chart-1: oklch(0.313 0.183 280.344);
  --chart-2: oklch(0.324 0.171 264.623);
  --chart-3: oklch(0.398 0.19 316.285);
  --chart-4: oklch(0.348 0.185 264.585);
  --chart-5: oklch(0.314 0.187 279.538);
}