Lo-Fi Night Color Palette
#0A0A1A · #2A2A4A · #8A7A9A · #E8D8C0
Use #0A0A1A as the background. Use #2A2A4A as the primary accent. Use #8A7A9A as secondary. Use #E8D8C0 as body text/supporting color. Palette mood: Lo-Fi Night — chill, nocturnal, warm.
Hex Codes, RGB & CMYK Color Values
Technical breakdown for the Lo-Fi Night color scheme. Use these values for web design (HEX/RGB), print projects (CMYK), or specialized design software (HSL).
| Swatch | Design Role | HEX | RGB | CMYK | HSL |
|---|---|---|---|---|---|
| Background Luminance: 0.4% | 10, 10, 26 | 62%, 62%, 0%, 90% | 240°, 44%, 7% | ||
| Decorative / accent Luminance: 2.6% | 42, 42, 74 | 43%, 43%, 0%, 71% | 240°, 28%, 23% | ||
| Text · AA Luminance: 21.7% | 138, 122, 154 | 10%, 21%, 0%, 40% | 270°, 14%, 54% | ||
| Text · AAA Luminance: 70.1% | 232, 216, 192 | 0%, 7%, 17%, 9% | 36°, 47%, 83% |
Lo-Fi Night Tints & Shades
Hover states, borders and elevation need lighter and darker steps of your base colors. Here are computed tints and shades for every color in the Lo-Fi Night palette — click any swatch to copy its hex.
Lo-Fi Night Palette Contrast Matrix (WCAG 2.1)
Every color tested as text on every other color as background. Body copy needs 4.5:1 (AA), large text and UI components 3:1. AAA requires 7:1.
| Text on Background | Preview | Ratio | Grade | Safe For |
|---|---|---|---|---|
| #E8D8C0 on #0A0A1A |
Aa Sample Text
| 14.01:1 | AAA | Body text, headings, UI |
| #0A0A1A on #E8D8C0 |
Aa Sample Text
| 14.01:1 | AAA | Body text, headings, UI |
| #E8D8C0 on #2A2A4A |
Aa Sample Text
| 9.82:1 | AAA | Body text, headings, UI |
| #2A2A4A on #E8D8C0 |
Aa Sample Text
| 9.82:1 | AAA | Body text, headings, UI |
| #8A7A9A on #0A0A1A |
Aa Sample Text
| 4.97:1 | AA | Body text, UI |
| #0A0A1A on #8A7A9A |
Aa Sample Text
| 4.97:1 | AA | Body text, UI |
| #8A7A9A on #2A2A4A |
Aa Sample Text
| 3.48:1 | Fail | Large headings, UI components |
| #2A2A4A on #8A7A9A |
Aa Sample Text
| 3.48:1 | Fail | Large headings, UI components |
| #E8D8C0 on #8A7A9A |
Aa Sample Text
| 2.81:1 | Fail | Decorative use only |
| #8A7A9A on #E8D8C0 |
Aa Sample Text
| 2.81:1 | Fail | Decorative use only |
| #2A2A4A on #0A0A1A |
Aa Sample Text
| 1.42:1 | Fail | Decorative use only |
| #0A0A1A on #2A2A4A |
Aa Sample Text
| 1.42:1 | Fail | Decorative use only |
Color Harmony: No Single Classic Rule
Two hue groups sit 156° apart — 2 colors around 240° and 1 color around 36°. That is neither complementary (180°) nor analogous (within about 60°).
Because the hue spacing is irregular, choose roles by measured contrast rather than by hue relationship.
History & Design Context
Best Design Use Cases
Measured best pair: #E8D8C0 on #0A0A1A at 14.01:1 (AAA). Use this pair for paragraph copy; the surface roles above are not body-text prescriptions.
Colors That Pair Well With Lo-Fi Night
Need a fifth color? These three companions are computed from the palette's own hue positions on the color wheel, so they extend the scheme without breaking its harmony.
directly opposite #2A2A4A on the wheel — the strongest accent for CTAs and highlights when you need maximum energy
30° beside #2A2A4A — a calm secondary that extends the palette without adding tension
a paper-white carrying the palette's own hue — perfect for surfaces and dividers
Using Lo-Fi Night Without Breaking Accessibility
- Avoid #2A2A4A for small UI elements on #0A0A1A — at 1.42:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
- Set body text in #E8D8C0 — 14.01:1 against #0A0A1A passes WCAG AA (AAA) for long-form reading.
- Let #8A7A9A carry sidebars, cards and footers — at a mid lightness it separates zones without stealing focus from #2A2A4A.
How to Implement the Lo-Fi Night Color Scheme
To use this Lo-Fi Night color palette in your web project, copy the CSS variables below or open the export panel for Tailwind, SCSS and Figma formats.
Option 1: CSS Variables
:root {
/* Lo-Fi Night — ihatecolors */
--color-bg: #0A0A1A;
--color-accent: #2A2A4A;
--color-secondary: #8A7A9A;
--color-text: #E8D8C0;
} Web Design Tip
#2A2A4A on #0A0A1A measures 1.42:1 — the two are nearly indistinguishable, so this pair cannot separate a control from the page. Pick a different slot for actions, or use the darkest shade in the ramp.
Accessibility Note
Body copy in #E8D8C0 on #0A0A1A measures 14.01:1, which passes WCAG AAA for normal text.
Lo-Fi Night Palette — Frequently Asked Questions
What are the hex codes in the Lo-Fi Night color palette?
The Lo-Fi Night palette contains #0A0A1A, #2A2A4A, #8A7A9A, #E8D8C0. Click any swatch on this page to copy its value, or export all four at once as CSS variables, Tailwind config, SCSS or a Figma-ready list.
Is the Lo-Fi Night color palette accessible (WCAG)?
Yes. #E8D8C0 on #0A0A1A reaches 14.01:1, which passes WCAG AAA for normal text (7:1) as well as AA and the 3:1 UI threshold — use it for body copy and controls. The full contrast matrix above shows the exact score for every color-on-color pair in this palette.
What colors go well with the Lo-Fi Night palette?
Beyond its own four colors, #727240, #3B3045, #EBEBEF extend it naturally: the complementary hue for high-energy accents, an analogous neighbor for calm transitions, and a tinted neutral for surfaces. All three are computed from this palette's hues on the color wheel.
What mood does the Lo-Fi Night palette create?
Lo-Fi Night reads as chill, nocturnal, warm. Gently saturated blue drives the personality, grounded by gently saturated blue — a combination that works best when the deep base gets most of the canvas.
Can I use the Lo-Fi Night color palette commercially?
Yes. Individual color values can't be copyrighted, so the Lo-Fi Night palette is free for personal, client and commercial work — websites, branding, apps, print and social content, with no attribution required.
How do I add the Lo-Fi Night palette to Tailwind or CSS?
Use the export panel on this page: CSS variables, a Tailwind config block, SCSS variables, or a Figma copy list are generated from Lo-Fi Night's exact values, including the tint and shade ramps shown above.