Base16 Dark Paraiso is a shadcn/ui theme built around a neutral gray primary color (#a29d9a) with muted purple accents (#5d3c5b). The light mode uses a purple-tinted background (#2f1e2e). Dark mode keeps the neutral gray primary (#a29d9a) on a purple-tinted background (#2f1e2e).
| Token | Light | Dark |
|---|---|---|
| Background | #2f1e2edarkslategray | #2f1e2edarkslategray |
| Foreground | #a29d9adarkgray | #a29d9adarkgray |
| Card | #281a27black | #281a27black |
| Card foreground | #aeaaa7darkgray | #aeaaa7darkgray |
| Popover | #251824black | #251824black |
| Popover foreground | #bab7b5silver | #bab7b5silver |
| Primary | #a29d9adarkgray | #a29d9adarkgray |
| Primary foreground | #050505black | #050505black |
| Secondary | #404040darkslategray | #404040darkslategray |
| Secondary foreground | #d9d9d9gainsboro | #d9d9d9gainsboro |
| Muted | #362b35darkslategray | #362b35darkslategray |
| Muted foreground | #b9a6b8darkgray | #b9a6b8darkgray |
| Accent | #5d3c5bdimgray | #5d3c5bdimgray |
| Accent foreground | #ebe0ealavender | #ebe0ealavender |
| Destructive | #ed3731crimson | #ed3731crimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #392d38darkslategray | #392d38darkslategray |
| Input | #423441darkslategray | #423441darkslategray |
| Ring | #a29d9adarkgray | #a29d9adarkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 5.83:1 | AA |
| Text on card | 7.18:1 | AAA |
| Primary button | 7.60:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 5.93:1 | AA |
| Accent | 7.25:1 | AAA |
| Destructive | 4.04:1 | AA Large |
| Text on background | 5.83:1 | AA |
| Text on card | 7.18:1 | AAA |
| Primary button | 7.60:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 5.93:1 | AA |
| Accent | 7.25:1 | AAA |
| Destructive | 4.04:1 | AA Large |
Paste this into your globals.css to use Base16 Dark Paraiso in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.262 0.038 328.862);
--foreground: oklch(0.7 0.007 54.367);
--muted: oklch(0.305 0.025 328.326);
--muted-foreground: oklch(0.748 0.033 327.969);
--popover: oklch(0.231 0.031 328.785);
--popover-foreground: oklch(0.781 0.005 54.416);
--card: oklch(0.242 0.033 328.813);
--card-foreground: oklch(0.741 0.006 54.393);
--border: oklch(0.315 0.026 328.334);
--input: oklch(0.344 0.03 328.356);
--primary: oklch(0.7 0.007 54.367);
--primary-foreground: oklch(0.116 0.001 53.107);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.406 0.067 329.05);
--accent-foreground: oklch(0.918 0.018 327.742);
--destructive: oklch(0.62 0.219 27.794);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.7 0.007 54.367);
--chart-1: oklch(0.7 0.007 54.367);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.406 0.067 329.05);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(0.7 0.012 54.264);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.262 0.038 328.862);
--foreground: oklch(0.7 0.007 54.367);
--muted: oklch(0.305 0.025 328.326);
--muted-foreground: oklch(0.748 0.033 327.969);
--popover: oklch(0.231 0.031 328.785);
--popover-foreground: oklch(0.781 0.005 54.416);
--card: oklch(0.242 0.033 328.813);
--card-foreground: oklch(0.741 0.006 54.393);
--border: oklch(0.315 0.026 328.334);
--input: oklch(0.344 0.03 328.356);
--primary: oklch(0.7 0.007 54.367);
--primary-foreground: oklch(0.116 0.001 53.107);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.406 0.067 329.05);
--accent-foreground: oklch(0.918 0.018 327.742);
--destructive: oklch(0.62 0.219 27.794);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.7 0.007 54.367);
--chart-1: oklch(0.7 0.007 54.367);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.406 0.067 329.05);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(0.7 0.012 54.264);
}