PreviewingGo to this paletteOpen in generator
Code
/* Black Deep — colorset.net */
:root {
--color-1: #000000;
--color-2: #191970;
--color-3: #4B0082;
--color-4: #FFD700;
--color-5: #FFA500;
--color-bg: #FBF7E8;
--color-surface: #F1EEDF;
--color-border: #DAD5C3;
--color-text: #000000;
--color-muted: #4A4A4A;
--color-primary: #4B0082;
--color-on-primary: #FFFFFF;
--color-accent: #8C7500;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #000000;
--color-surface: #000000;
--color-border: #090707;
--color-text: #E4DAB5;
--color-muted: #7D765B;
--color-primary: #743DB3;
--color-on-primary: #FFFFFF;
--color-accent: #FFD700;
--color-on-accent: #000000;
}
}
Color values
| Color | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Roles & contrast
Original colors are kept; roles are adjusted only when needed for contrast.
| Role | Light mode | Dark mode |
|---|---|---|
| Background | adjusted for contrast · from #FFD700 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #FFD700 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | adjusted for contrast · from #4B0082 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFA500 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.57:1 | AAA pass 4.5:1 | |
| Text on surface | 18.04:1 | AAA pass 4.5:1 | |
| Muted text on background | 8.26:1 | AAA pass 4.5:1 | |
| Label on primary | 12.95:1 | AAA pass 4.5:1 | |
| Label on accent | 4.51:1 | AA pass 4.5:1 | |
| Primary on background | 12.07:1 | AAA pass 3:1 | |
| Accent on background | 4.20:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.99:1 | AAA pass 4.5:1 | |
| Text on surface | 14.99:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.61:1 | AA pass 4.5:1 | |
| Label on primary | 6.86:1 | AA pass 4.5:1 | |
| Label on accent | 14.97:1 | AAA pass 4.5:1 | |
| Primary on background | 3.06:1 | AA Large pass 3:1 | |
| Accent on background | 14.97:1 | AAA pass 3:1 |
Every color on every color
Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.
| Background / Text | #000000 (Text 1) | #191970 (Text 2) | #4B0082 (Text 3) | #FFD700 (Text 4) | #FFA500 (Text 5) |
|---|---|---|---|---|---|
| #000000 | Same color | 1.41— | 1.62— | 14.97AAA | 10.63AAA |
| #191970 | 1.41— | Same color | 1.15— | 10.59AAA | 7.52AAA |
| #4B0082 | 1.62— | 1.15— | Same color | 9.23AAA | 6.56AA |
| #FFD700 | 14.97AAA | 10.59AAA | 9.23AAA | Same color | 1.41— |
| #FFA500 | 10.63AAA | 7.52AAA | 6.56AA | 1.41— | Same color |
Shades
Shades and tints (50–950)
