Luxurious for shadcn/ui

Luxurious is a shadcn/ui theme built around a deep yellow primary color (#181807) with deep purple accents (#180718). The light mode uses a neutral background (#fdfdf7). Dark mode keeps the deep yellow primary (#181807) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fdfdf7snow
#000000black
Foreground
#080802black
#fdfdfcwhite
Card
#fdfdf7snow
#000000black
Card foreground
#080802black
#fdfdfcwhite
Popover
#fdfdf7snow
#000000black
Popover foreground
#080802black
#fdfdfcwhite
Primary
#181807black
#181807black
Primary foreground
#b8b632yellowgreen
#b8b632yellowgreen
Secondary
#071818black
#071818black
Secondary foreground
#32b8b6lightseagreen
#32b8b6lightseagreen
Muted
#dee3e3gainsboro
#1c2121black
Muted foreground
#3f4a4adarkslategray
#b5c0bfsilver
Accent
#180718black
#180718black
Accent foreground
#d877daorchid
#d877daorchid
Destructive
#dc4504orangered
#fa4f05orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#181807black
#181807black

Contrast

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

Light mode
Text on background19.64:1AAA
Text on card19.64:1AAA
Primary button8.35:1AAA
Secondary button7.52:1AAA
Muted text7.06:1AAA
Accent7.01:1AAA
Destructive4.28:1AA Large
Dark mode
Text on background20.63:1AAA
Text on card20.63:1AAA
Primary button8.35:1AAA
Secondary button7.52:1AAA
Muted text8.72:1AAA
Accent7.01:1AAA
Destructive3.40:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.008 105.758);
  --foreground: oklch(0.132 0.019 108.147);
  --muted: oklch(0.912 0.005 195.873);
  --muted-foreground: oklch(0.401 0.014 195.367);
  --popover: oklch(0.992 0.008 105.758);
  --popover-foreground: oklch(0.132 0.019 108.147);
  --card: oklch(0.992 0.008 105.758);
  --card-foreground: oklch(0.132 0.019 108.147);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.203 0.031 107.989);
  --primary-foreground: oklch(0.755 0.147 108.468);
  --secondary: oklch(0.194 0.024 193.964);
  --secondary-foreground: oklch(0.714 0.111 193.283);
  --accent: oklch(0.164 0.044 326.752);
  --accent-foreground: oklch(0.711 0.172 326.591);
  --destructive: oklch(0.601 0.196 37.661);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.203 0.031 107.989);
  --chart-1: oklch(0.203 0.031 107.989);
  --chart-2: oklch(0.194 0.024 193.964);
  --chart-3: oklch(0.164 0.044 326.752);
  --chart-4: oklch(0.24 0.032 193.747);
  --chart-5: oklch(0.205 0.032 108.067);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.995 0.002 105.658);
  --muted: oklch(0.243 0.007 195.465);
  --muted-foreground: oklch(0.798 0.012 195.709);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.995 0.002 105.658);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.995 0.002 105.658);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.203 0.031 107.989);
  --primary-foreground: oklch(0.755 0.147 108.468);
  --secondary: oklch(0.194 0.024 193.964);
  --secondary-foreground: oklch(0.714 0.111 193.283);
  --accent: oklch(0.164 0.044 326.752);
  --accent-foreground: oklch(0.711 0.172 326.591);
  --destructive: oklch(0.661 0.217 37.426);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.203 0.031 107.989);
  --chart-1: oklch(0.203 0.031 107.989);
  --chart-2: oklch(0.194 0.024 193.964);
  --chart-3: oklch(0.164 0.044 326.752);
  --chart-4: oklch(0.24 0.032 193.747);
  --chart-5: oklch(0.205 0.032 108.067);
}