Wolf’s Bane Hawk for shadcn/ui

Wolf’s Bane Hawk is a shadcn/ui theme built around a muted deep purple primary color (#41353f) with muted deep green accents (#354137). The light mode uses a neutral background (#fefbfd). Dark mode keeps the muted deep purple primary (#41353f) on a purple-tinted background (#0a050a).

Color palette

TokenLightDark
Background
#fefbfdsnow
#0a050ablack
Foreground
#120210black
#f8f7f8whitesmoke
Card
#fefbfdsnow
#0a050ablack
Card foreground
#120210black
#f8f7f8whitesmoke
Popover
#fefbfdsnow
#0a050ablack
Popover foreground
#120210black
#f8f7f8whitesmoke
Primary
#41353fdarkslategray
#41353fdarkslategray
Primary foreground
#d8cfd7lightgrey
#d8cfd7lightgrey
Secondary
#354137darkslategray
#354137darkslategray
Secondary foreground
#cfd8d1lightgrey
#cfd8d1lightgrey
Muted
#d4e2d6gainsboro
#1d2b1fblack
Muted foreground
#4b584ddarkslategray
#a7b4a9darkgray
Accent
#354137darkslategray
#354137darkslategray
Accent foreground
#cfd8d1lightgrey
#cfd8d1lightgrey
Destructive
#d4240cfirebrick
#f3422borangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e0e5gainsboro
#211c21black
Input
#e5e0e5gainsboro
#211c21black
Ring
#41353fdarkslategray
#41353fdarkslategray

Contrast

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

Light mode
Text on background19.62:1AAA
Text on card19.62:1AAA
Primary button7.68:1AAA
Secondary button7.38:1AAA
Muted text5.60:1AA
Accent7.38:1AAA
Destructive5.17:1AA
Dark mode
Text on background18.91:1AAA
Text on card18.91:1AAA
Primary button7.68:1AAA
Secondary button7.38:1AAA
Muted text6.89:1AA
Accent7.38:1AAA
Destructive3.73:1AA Large

CSS variables

Paste this into your globals.css to use Wolf’s Bane Hawk in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.004 330.296);
  --foreground: oklch(0.135 0.045 333.025);
  --muted: oklch(0.9 0.022 149.919);
  --muted-foreground: oklch(0.446 0.024 149.514);
  --popover: oklch(0.991 0.004 330.296);
  --popover-foreground: oklch(0.135 0.045 333.025);
  --card: oklch(0.991 0.004 330.296);
  --card-foreground: oklch(0.135 0.045 333.025);
  --border: oklch(0.913 0.008 330.358);
  --input: oklch(0.913 0.008 330.358);
  --primary: oklch(0.345 0.023 331.096);
  --primary-foreground: oklch(0.865 0.014 330.451);
  --secondary: oklch(0.359 0.023 149.38);
  --secondary-foreground: oklch(0.873 0.014 150.041);
  --accent: oklch(0.359 0.023 149.38);
  --accent-foreground: oklch(0.873 0.014 150.041);
  --destructive: oklch(0.56 0.212 30.879);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.345 0.023 331.096);
  --chart-1: oklch(0.345 0.023 331.096);
  --chart-2: oklch(0.359 0.023 149.38);
  --chart-3: oklch(0.359 0.023 149.38);
  --chart-4: oklch(0.39 0.025 149.36);
  --chart-5: oklch(0.343 0.031 331.344);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.127 0.018 330.98);
  --foreground: oklch(0.976 0.003 330.281);
  --muted: oklch(0.271 0.03 148.708);
  --muted-foreground: oklch(0.756 0.021 149.873);
  --popover: oklch(0.127 0.018 330.98);
  --popover-foreground: oklch(0.976 0.003 330.281);
  --card: oklch(0.127 0.018 330.98);
  --card-foreground: oklch(0.976 0.003 330.281);
  --border: oklch(0.234 0.012 330.899);
  --input: oklch(0.234 0.012 330.899);
  --primary: oklch(0.345 0.023 331.096);
  --primary-foreground: oklch(0.865 0.014 330.451);
  --secondary: oklch(0.359 0.023 149.38);
  --secondary-foreground: oklch(0.873 0.014 150.041);
  --accent: oklch(0.359 0.023 149.38);
  --accent-foreground: oklch(0.873 0.014 150.041);
  --destructive: oklch(0.639 0.216 30.97);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.345 0.023 331.096);
  --chart-1: oklch(0.345 0.023 331.096);
  --chart-2: oklch(0.359 0.023 149.38);
  --chart-3: oklch(0.359 0.023 149.38);
  --chart-4: oklch(0.39 0.025 149.36);
  --chart-5: oklch(0.343 0.031 331.344);
}