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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.87:1 | AAA |
| Text on card | 19.87:1 | AAA |
| Primary button | 8.80:1 | AAA |
| Secondary button | 8.61:1 | AAA |
| Muted text | 7.40:1 | AAA |
| Accent | 6.89:1 | AA |
| Destructive | 5.60:1 | AA |
| Text on background | 19.30:1 | AAA |
| Text on card | 19.30:1 | AAA |
| Primary button | 8.80:1 | AAA |
| Secondary button | 8.61:1 | AAA |
| Muted text | 8.49:1 | AAA |
| Accent | 6.89:1 | AA |
| Destructive | 7.79:1 | AAA |
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);
}