Coliseum for shadcn/ui

Coliseum is a shadcn/ui theme built around a deep violet primary color (#0c060f) with muted violet accents (#c7aed0). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep violet primary (#0c060f) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#0d0510black
#f9f4fawhitesmoke
Card
#fcfcfcsnow
#030303black
Card foreground
#0a040cblack
#fbf8fcghostwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#0d0510black
#f9f4fawhitesmoke
Primary
#0c060fblack
#0c060fblack
Primary foreground
#b779cdmediumorchid
#b779cdmediumorchid
Secondary
#d3c6d7thistle
#231e25black
Secondary foreground
#3a2c3fdarkslategray
#beb3c2silver
Muted
#e6dde9gainsboro
#1f1622black
Muted foreground
#4b474ddarkslategray
#b6b2b8silver
Accent
#c7aed0silver
#322636darkslategray
Accent foreground
#2b1c31darkslategray
#cbbdd0thistle
Destructive
#8a1a0fdarkred
#cf2617firebrick
Destructive foreground
#fad5d1bisque
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#0c060fblack
#0c060fblack

Contrast

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

Light mode
Text on background20.07:1AAA
Text on card19.84:1AAA
Primary button6.33:1AA
Secondary button7.94:1AAA
Muted text6.87:1AA
Accent7.92:1AAA
Destructive6.96:1AA
Dark mode
Text on background19.34:1AAA
Text on card19.63:1AAA
Primary button6.33:1AA
Secondary button8.14:1AAA
Muted text8.40:1AAA
Accent8.00:1AAA
Destructive5.33:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.134 0.03 317.69);
  --muted: oklch(0.908 0.019 317.141);
  --muted-foreground: oklch(0.404 0.011 317.126);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.134 0.03 317.69);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.121 0.026 318.783);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.136 0.025 317.577);
  --primary-foreground: oklch(0.671 0.137 316.645);
  --secondary: oklch(0.842 0.028 317.115);
  --secondary-foreground: oklch(0.317 0.039 316.902);
  --accent: oklch(0.784 0.055 317.028);
  --accent-foreground: oklch(0.255 0.043 316.764);
  --destructive: oklch(0.412 0.149 29.917);
  --destructive-foreground: oklch(0.902 0.042 24.099);
  --ring: oklch(0.136 0.025 317.577);
  --chart-1: oklch(0.136 0.025 317.577);
  --chart-2: oklch(0.842 0.028 317.115);
  --chart-3: oklch(0.784 0.055 317.028);
  --chart-4: oklch(0.867 0.023 317.129);
  --chart-5: oklch(0.135 0.027 317.618);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.973 0.009 317.168);
  --muted: oklch(0.217 0.027 316.892);
  --muted-foreground: oklch(0.769 0.01 317.161);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.973 0.009 317.168);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.982 0.006 317.176);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.136 0.025 317.577);
  --primary-foreground: oklch(0.671 0.137 316.645);
  --secondary: oklch(0.242 0.016 317.041);
  --secondary-foreground: oklch(0.779 0.024 317.118);
  --accent: oklch(0.289 0.032 316.93);
  --accent-foreground: oklch(0.817 0.03 317.105);
  --destructive: oklch(0.552 0.205 30.028);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.136 0.025 317.577);
  --chart-1: oklch(0.136 0.025 317.577);
  --chart-2: oklch(0.242 0.016 317.041);
  --chart-3: oklch(0.289 0.032 316.93);
  --chart-4: oklch(0.273 0.019 317.032);
  --chart-5: oklch(0.135 0.027 317.618);
}