dark mode color palette generator
Deep, low-lightness colours for dark backgrounds, cards and dark-mode UIs. Generate dark colour palettes and copy the hex codes.
Check pairs in the contrast checker, or open a colour in the colour picker for RGB, HSL and CMYK values.
Dark Mode palette examples
Six dark mode palettes made with this generator. Click a colour code in the generator above to copy it, or use these as a starting point.
Colours in these examples are close to midnight blue, black, dark green, cobalt blue, medium violet red, sepia, hunter green, indigo, charcoal, eggplant. In the first palette, #210C11 on #A5245E has a contrast ratio of 2.67:1, which is too low for text, so add a darker neutral for words.
About dark mode colours
Dark palettes use low-lightness colours, such as deep navy, charcoal, aubergine and forest green. They're the starting point for dark-mode interfaces, moody photography sites and luxury brands.
For a dark-mode UI, use the darkest colour as the page background, slightly lighter ones for cards, and pair them with light text.
Tips for using dark mode palettes
- Avoid pure black (#000000) backgrounds; very dark grays or navies are easier on the eyes.
- Check text contrast with the contrast checker: light gray text needs at least 4.5:1.
- Desaturate bright accent colours a little for dark mode.
Frequently asked questions
What colours are best for dark mode?
Very dark grays or navies for the background (around #121212 to #1E1E2E), slightly lighter tones for surfaces, and off-white text.
Why not use pure black?
Pure black with pure white text has extreme contrast that can cause eye strain and smearing on some screens; a softer dark gray is more comfortable.
Can I use these dark mode palettes for free?
Yes. Colours can't be owned, and every palette here is generated in your browser. Use them in any personal or commercial project.
How do I get a new palette?
Press generate or the space bar. Lock any colour with the lock icon to keep it while the others change.