PreviewingGo to this paletteOpen in generator
Code
/* Ebony Deep — colorset.net */
:root {
--color-1: #000000;
--color-2: #0F0F0F;
--color-3: #1E1E1E;
--color-4: #2D2D2D;
--color-5: #3C3C3C;
--color-bg: #F7F7F7;
--color-surface: #EDEDED;
--color-border: #D8D3D5;
--color-text: #000000;
--color-muted: #4A4A4A;
--color-primary: #3C3C3C;
--color-on-primary: #FFFFFF;
--color-accent: #0F0F0F;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #000000;
--color-surface: #000000;
--color-border: #090707;
--color-text: #979797;
--color-muted: #757575;
--color-primary: #5A5A5A;
--color-on-primary: #FFFFFF;
--color-accent: #8B8B8B;
--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 #3C3C3C | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #3C3C3C |
| Muted text | derived | derived |
| Primary | from palette · color 5 | adjusted for contrast · from #3C3C3C |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #3C3C3C |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.60:1 | AAA pass 4.5:1 | |
| Text on surface | 17.94:1 | AAA pass 4.5:1 | |
| Muted text on background | 8.27:1 | AAA pass 4.5:1 | |
| Label on primary | 11.03:1 | AAA pass 4.5:1 | |
| Label on accent | 19.17:1 | AAA pass 4.5:1 | |
| Primary on background | 10.30:1 | AAA pass 3:1 | |
| Accent on background | 17.89:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.19:1 | AAA pass 4.5:1 | |
| Text on surface | 7.19:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.56:1 | AA pass 4.5:1 | |
| Label on primary | 6.90:1 | AA pass 4.5:1 | |
| Label on accent | 6.16:1 | AA pass 4.5:1 | |
| Primary on background | 3.04:1 | AA Large pass 3:1 | |
| Accent on background | 6.16: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 | #000000 (Text 1) | #0F0F0F (Text 2) | #1E1E1E (Text 3) | #2D2D2D (Text 4) | #3C3C3C (Text 5) |
|---|---|---|---|---|---|
| #000000 | Same color | 1.10— | 1.26— | 1.52— | 1.90— |
| #0F0F0F | 1.10— | Same color | 1.15— | 1.39— | 1.74— |
| #1E1E1E | 1.26— | 1.15— | Same color | 1.21— | 1.51— |
| #2D2D2D | 1.52— | 1.39— | 1.21— | Same color | 1.25— |
| #3C3C3C | 1.90— | 1.74— | 1.51— | 1.25— | Same color |
Shades
Shades and tints (50–950)
