Nightshade and Violet color palette
Nightshade and Violet is a 5-color palette drawing on blues, purples, reds and oranges. In OKLCH its lightness runs from 18% (#0C0C29, very dark) to 92% (#FBE0B8, very light), and its most saturated color, #BD6E9B, is moderately saturated. 3 of its 5 chromatic colors sit on the warm side of the hue wheel. 5 of its 10 color pairs reach the WCAG AA ratio of 4.5:1 for body text. It is tagged sunset, purple, orange, warm and calm.
- Rich Navy #0C0C29
- Prussian Blue #3D2B6B
- English Lavender #BD6E9B
- Sandy Brown #F6B48F
- Lemon Meringue #FBE0B8
Color codes
| Color | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| Rich Navy | #0C0C29 | rgb(12, 12, 41) | hsl(240, 55%, 10%) | oklch(17.6% 0.058 278.7) |
| Prussian Blue | #3D2B6B | rgb(61, 43, 107) | hsl(257, 43%, 29%) | oklch(34.6% 0.107 292.9) |
| English Lavender | #BD6E9B | rgb(189, 110, 155) | hsl(326, 37%, 59%) | oklch(63.9% 0.115 345.6) |
| Sandy Brown | #F6B48F | rgb(246, 180, 143) | hsl(22, 85%, 76%) | oklch(82.3% 0.092 50.3) |
| Lemon Meringue | #FBE0B8 | rgb(251, 224, 184) | hsl(36, 89%, 85%) | oklch(91.9% 0.06 77.6) |
Accessibility
The best text and background pairs in Nightshade and Violet, by WCAG 2 contrast ratio, with the APCA lightness contrast (Lc) of the text on its background.
| Pair | WCAG 2 | Level | APCA Lc |
|---|---|---|---|
| #FBE0B8 on #0C0C29 | 14.96:1 | AAA | Lc -89.7 |
| #0C0C29 on #F6B48F | 10.76:1 | AAA | Lc 70.7 |
| #FBE0B8 on #3D2B6B | 9.37:1 | AAA | Lc -83.0 |
Color vision
No pair of colors comes within ΔE 0.06 of another under protanopia, deuteranopia, tritanopia or achromatopsia.
Protanopia
Deuteranopia
Tritanopia
Achromatopsia
Use it in code
Install these colors as Tailwind CSS v4 theme colors with shadcn: npx shadcn@latest add https://getcolors.so/r/palette/0c0c29-3d2b6b-bd6e9b-f6b48f-fbe0b8.json.
Make it your own
Edit the colors, build a full light and dark color system from them, or see them on real UI.