PreviewingGo to this paletteOpen in generator
Code
/* Deep Black — colorset.net */
:root {
--color-1: #000000;
--color-2: #191970;
--color-3: #4B0082;
--color-4: #8A2BE2;
--color-5: #FF1493;
--color-bg: #FFF3F7;
--color-surface: #FAE8EE;
--color-border: #E4CED5;
--color-text: #000000;
--color-muted: #4A4A4A;
--color-primary: #E20081;
--color-on-primary: #FFFFFF;
--color-accent: #191970;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #000000;
--color-surface: #000000;
--color-border: #090707;
--color-text: #B48D9A;
--color-muted: #8B6D77;
--color-primary: #E20081;
--color-on-primary: #000000;
--color-accent: #4453AD;
--color-on-accent: #FFFFFF;
}
}
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 #FF1493 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #FF1493 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF1493 | adjusted for contrast · from #FF1493 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #8A2BE2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.42:1 | AAA pass 4.5:1 | |
| Text on surface | 17.84:1 | AAA pass 4.5:1 | |
| Muted text on background | 8.19:1 | AAA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 14.85:1 | AAA pass 4.5:1 | |
| Primary on background | 4.27:1 | AA Large pass 3:1 | |
| Accent on background | 13.73:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.22:1 | AAA pass 4.5:1 | |
| Text on surface | 7.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.55:1 | AA pass 4.5:1 | |
| Label on primary | 4.55:1 | AA pass 4.5:1 | |
| Label on accent | 6.80:1 | AA pass 4.5:1 | |
| Primary on background | 4.55:1 | AA pass 3:1 | |
| Accent on background | 3.09:1 | AA Large 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) | #8A2BE2 (Text 4) | #FF1493 (Text 5) |
|---|---|---|---|---|---|
| #000000 | Same color | 1.41— | 1.62— | 3.52AA Large | 5.77AA |
| #191970 | 1.41— | Same color | 1.15— | 2.49— | 4.08AA Large |
| #4B0082 | 1.62— | 1.15— | Same color | 2.17— | 3.56AA Large |
| #8A2BE2 | 3.52AA Large | 2.49— | 2.17— | Same color | 1.64— |
| #FF1493 | 5.77AA | 4.08AA Large | 3.56AA Large | 1.64— | Same color |
Shades
Shades and tints (50–950)
