PreviewingGo to this paletteOpen in generator
Code
/* Void Black — colorset.net */
:root {
--color-1: #090909;
--color-2: #191919;
--color-3: #292929;
--color-4: #393939;
--color-5: #494949;
--color-bg: #F7F7F7;
--color-surface: #EDEDED;
--color-border: #D8D3D5;
--color-text: #090909;
--color-muted: #606060;
--color-primary: #494949;
--color-on-primary: #FFFFFF;
--color-accent: #191919;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #090909;
--color-surface: #131313;
--color-border: #292526;
--color-text: #A0A0A0;
--color-muted: #7F7F7F;
--color-primary: #626262;
--color-on-primary: #FFFFFF;
--color-accent: #949494;
--color-on-accent: #090909;
}
}
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 #494949 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #494949 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | adjusted for contrast · from #494949 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #494949 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.59:1 | AAA pass 4.5:1 | |
| Text on surface | 17.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.87:1 | AA pass 4.5:1 | |
| Label on primary | 9.00:1 | AAA pass 4.5:1 | |
| Label on accent | 17.58:1 | AAA pass 4.5:1 | |
| Primary on background | 8.40:1 | AAA pass 3:1 | |
| Accent on background | 16.41:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.61:1 | AAA pass 4.5:1 | |
| Text on surface | 7.11:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 6.10:1 | AA pass 4.5:1 | |
| Label on accent | 6.56:1 | AA pass 4.5:1 | |
| Primary on background | 3.26:1 | AA Large pass 3:1 | |
| Accent on background | 6.56:1 | AA 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 | #090909 (Text 1) | #191919 (Text 2) | #292929 (Text 3) | #393939 (Text 4) | #494949 (Text 5) |
|---|---|---|---|---|---|
| #090909 | Same color | 1.13— | 1.37— | 1.72— | 2.21— |
| #191919 | 1.13— | Same color | 1.21— | 1.52— | 1.95— |
| #292929 | 1.37— | 1.21— | Same color | 1.26— | 1.62— |
| #393939 | 1.72— | 1.52— | 1.26— | Same color | 1.28— |
| #494949 | 2.21— | 1.95— | 1.62— | 1.28— | Same color |
Shades
Shades and tints (50–950)
