Night Wolf (gray) (No Italics) for shadcn/ui

Night Wolf (gray) (No Italics) is a shadcn/ui theme built around a vivid purple primary color (#ff52ff) with neutral gray accents (#4d4d4d). The light mode uses a neutral background (#262626). Dark mode keeps the vivid purple primary (#ff52ff) on a neutral background (#262626).

Color palette

TokenLightDark
Background
#262626darkslategray
#262626darkslategray
Foreground
#cfcfcflightgrey
#cfcfcflightgrey
Card
#212121black
#212121black
Card foreground
#dbdbdbgainsboro
#dbdbdbgainsboro
Popover
#1f1f1fblack
#1f1f1fblack
Popover foreground
#e8e8e8lavender
#e8e8e8lavender
Primary
#ff52ffviolet
#ff52ffviolet
Primary foreground
#1f001fblack
#1f001fblack
Secondary
#532d53darkslategray
#532d53darkslategray
Secondary foreground
#e4cde4gainsboro
#e4cde4gainsboro
Muted
#362b2bdarkslategray
#362b2bdarkslategray
Muted foreground
#b9a6a6darkgray
#b9a6a6darkgray
Accent
#4d4d4ddarkslategray
#4d4d4ddarkslategray
Accent foreground
#e6e6e6gainsboro
#e6e6e6gainsboro
Destructive
#ef5443tomato
#ef5443tomato
Destructive foreground
#000000black
#000000black
Border
#333333darkslategray
#333333darkslategray
Input
#3b3b3bdarkslategray
#3b3b3bdarkslategray
Ring
#ff52ffviolet
#ff52ffviolet

Contrast

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

Light mode
Text on background9.68:1AAA
Text on card11.60:1AAA
Primary button7.31:1AAA
Secondary button7.60:1AAA
Muted text5.91:1AA
Accent6.82:1AA
Destructive6.02:1AA
Dark mode
Text on background9.68:1AAA
Text on card11.60:1AAA
Primary button7.31:1AAA
Secondary button7.60:1AAA
Muted text5.91:1AA
Accent6.82:1AA
Destructive6.02:1AA

CSS variables

Paste this into your globals.css to use Night Wolf (gray) (No Italics) in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.27 0 180);
  --foreground: oklch(0.853 0 168.69);
  --muted: oklch(0.301 0.017 18.156);
  --muted-foreground: oklch(0.743 0.022 17.661);
  --popover: oklch(0.238 0 161.565);
  --popover-foreground: oklch(0.931 0 180);
  --card: oklch(0.248 0 173.29);
  --card-foreground: oklch(0.892 0 180);
  --border: oklch(0.321 0 180);
  --input: oklch(0.351 0 167.471);
  --primary: oklch(0.737 0.276 327.931);
  --primary-foreground: oklch(0.167 0.077 328.363);
  --secondary: oklch(0.36 0.08 327.079);
  --secondary-foreground: oklch(0.875 0.04 325.912);
  --accent: oklch(0.418 0 173.29);
  --accent-foreground: oklch(0.923 0 153.435);
  --destructive: oklch(0.653 0.193 29.551);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.737 0.276 327.931);
  --chart-1: oklch(0.737 0.276 327.931);
  --chart-2: oklch(0.36 0.08 327.079);
  --chart-3: oklch(0.418 0 173.29);
  --chart-4: oklch(0.388 0.088 327.103);
  --chart-5: oklch(0.74 0.281 327.965);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.27 0 180);
  --foreground: oklch(0.853 0 168.69);
  --muted: oklch(0.301 0.017 18.156);
  --muted-foreground: oklch(0.743 0.022 17.661);
  --popover: oklch(0.238 0 161.565);
  --popover-foreground: oklch(0.931 0 180);
  --card: oklch(0.248 0 173.29);
  --card-foreground: oklch(0.892 0 180);
  --border: oklch(0.321 0 180);
  --input: oklch(0.351 0 167.471);
  --primary: oklch(0.737 0.276 327.931);
  --primary-foreground: oklch(0.167 0.077 328.363);
  --secondary: oklch(0.36 0.08 327.079);
  --secondary-foreground: oklch(0.875 0.04 325.912);
  --accent: oklch(0.418 0 173.29);
  --accent-foreground: oklch(0.923 0 153.435);
  --destructive: oklch(0.653 0.193 29.551);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.737 0.276 327.931);
  --chart-1: oklch(0.737 0.276 327.931);
  --chart-2: oklch(0.36 0.08 327.079);
  --chart-3: oklch(0.418 0 173.29);
  --chart-4: oklch(0.388 0.088 327.103);
  --chart-5: oklch(0.74 0.281 327.965);
}