Insignificant for shadcn/ui

Insignificant is a shadcn/ui theme built around a deep purple primary color (#2d1529) with neutral gray accents (#d4ced3). The light mode uses a neutral background (#fdfcfd). Dark mode keeps the deep purple primary (#2d1529) on a purple-tinted background (#0f050e).

Color palette

TokenLightDark
Background
#fdfcfdwhite
#0f050eblack
Foreground
#0c030bblack
#ffffffwhite
Card
#fdfcfdwhite
#0f050eblack
Card foreground
#0c030bblack
#ffffffwhite
Popover
#fdfcfdwhite
#0f050eblack
Popover foreground
#0c030bblack
#ffffffwhite
Primary
#2d1529black
#2d1529black
Primary foreground
#d3a1cbplum
#d3a1cbplum
Secondary
#d4ced3lightgrey
#292428darkslategray
Secondary foreground
#3c343bdarkslategray
#c4bbc2silver
Muted
#eeeceewhitesmoke
#131113black
Muted foreground
#50494fdarkslategray
#b6afb5darkgray
Accent
#d4ced3lightgrey
#292428darkslategray
Accent foreground
#3c343bdarkslategray
#c4bbc2silver
Destructive
#6c0a04maroon
#f7453btomato
Destructive foreground
#fbaba7lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#2d1529black
#2d1529black

Contrast

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

Light mode
Text on background19.82:1AAA
Text on card19.82:1AAA
Primary button7.76:1AAA
Secondary button7.76:1AAA
Muted text7.42:1AAA
Accent7.76:1AAA
Destructive6.84:1AA
Dark mode
Text on background20.01:1AAA
Text on card20.01:1AAA
Primary button7.76:1AAA
Secondary button8.18:1AAA
Muted text8.78:1AAA
Accent8.18:1AAA
Destructive3.58:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.002 330.854);
  --foreground: oklch(0.123 0.03 332.331);
  --muted: oklch(0.945 0.004 330.876);
  --muted-foreground: oklch(0.415 0.012 331.194);
  --popover: oklch(0.992 0.002 330.854);
  --popover-foreground: oklch(0.123 0.03 332.331);
  --card: oklch(0.992 0.002 330.854);
  --card-foreground: oklch(0.123 0.03 332.331);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.239 0.051 333.451);
  --primary-foreground: oklch(0.769 0.08 332.161);
  --secondary: oklch(0.858 0.01 330.98);
  --secondary-foreground: oklch(0.336 0.016 331.436);
  --accent: oklch(0.858 0.01 330.98);
  --accent-foreground: oklch(0.336 0.016 331.436);
  --destructive: oklch(0.339 0.131 29.594);
  --destructive-foreground: oklch(0.818 0.095 22.689);
  --ring: oklch(0.239 0.051 333.451);
  --chart-1: oklch(0.239 0.051 333.451);
  --chart-2: oklch(0.858 0.01 330.98);
  --chart-3: oklch(0.858 0.01 330.98);
  --chart-4: oklch(0.882 0.008 330.949);
  --chart-5: oklch(0.239 0.054 333.648);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.138 0.027 332.659);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.18 0.006 331.253);
  --muted-foreground: oklch(0.762 0.01 330.997);
  --popover: oklch(0.138 0.027 332.659);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.138 0.027 332.659);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.239 0.051 333.451);
  --primary-foreground: oklch(0.769 0.08 332.161);
  --secondary: oklch(0.266 0.011 331.384);
  --secondary-foreground: oklch(0.801 0.014 331.061);
  --accent: oklch(0.266 0.011 331.384);
  --accent-foreground: oklch(0.801 0.014 331.061);
  --destructive: oklch(0.649 0.216 27.904);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.239 0.051 333.451);
  --chart-1: oklch(0.239 0.051 333.451);
  --chart-2: oklch(0.266 0.011 331.384);
  --chart-3: oklch(0.266 0.011 331.384);
  --chart-4: oklch(0.297 0.013 331.41);
  --chart-5: oklch(0.239 0.054 333.648);
}