Desert Night Color Palette
#0A0A1A · #1A1A3A · #4A3880 · #C0A0FF
Use #0A0A1A as the background. Use #1A1A3A as the primary accent. Use #4A3880 as secondary. Use #C0A0FF as body text/supporting color. Palette mood: Desert Night — dark, vast, peaceful.
Hex Codes, RGB & CMYK Color Values
Technical breakdown for the Desert 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: 1.3% | 26, 26, 58 | 55%, 55%, 0%, 77% | 240°, 38%, 16% | ||
| Decorative / accent Luminance: 5.8% | 74, 56, 128 | 42%, 56%, 0%, 50% | 255°, 39%, 36% | ||
| Text · AAA Luminance: 43.6% | 192, 160, 255 | 25%, 37%, 0%, 0% | 260°, 100%, 81% |
Desert 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 Desert Night palette — click any swatch to copy its hex.
Desert 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 |
|---|---|---|---|---|
| #C0A0FF on #0A0A1A |
Aa Sample Text
| 9.06:1 | AAA | Body text, headings, UI |
| #0A0A1A on #C0A0FF |
Aa Sample Text
| 9.06:1 | AAA | Body text, headings, UI |
| #C0A0FF on #1A1A3A |
Aa Sample Text
| 7.75:1 | AAA | Body text, headings, UI |
| #1A1A3A on #C0A0FF |
Aa Sample Text
| 7.75:1 | AAA | Body text, headings, UI |
| #C0A0FF on #4A3880 |
Aa Sample Text
| 4.47:1 | Fail | Large headings, UI components |
| #4A3880 on #C0A0FF |
Aa Sample Text
| 4.47:1 | Fail | Large headings, UI components |
| #4A3880 on #0A0A1A |
Aa Sample Text
| 2.02:1 | Fail | Decorative use only |
| #0A0A1A on #4A3880 |
Aa Sample Text
| 2.02:1 | Fail | Decorative use only |
| #4A3880 on #1A1A3A |
Aa Sample Text
| 1.73:1 | Fail | Decorative use only |
| #1A1A3A on #4A3880 |
Aa Sample Text
| 1.73:1 | Fail | Decorative use only |
| #1A1A3A on #0A0A1A |
Aa Sample Text
| 1.16:1 | Fail | Decorative use only |
| #0A0A1A on #1A1A3A |
Aa Sample Text
| 1.16:1 | Fail | Decorative use only |
Color Harmony: Analogous
The saturated colors span 20° around 249° (blue) — neighbouring hues, not distinct ones.
Neighbouring hues read as cohesive and give little contrast between slots; build hierarchy from the lightness ladder rather than from hue.
History & Design Context
Best Design Use Cases
Measured best pair: #C0A0FF on #0A0A1A at 9.06:1 (AAA). Use this pair for paragraph copy; the surface roles above are not body-text prescriptions.
Industries This Palette Suits
Colors That Pair Well With Desert 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 #1A1A3A on the wheel — the strongest accent for CTAs and highlights when you need maximum energy
30° beside #1A1A3A — 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 Desert Night Without Breaking Accessibility
- Avoid #1A1A3A for small UI elements on #0A0A1A — at 1.16:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
- Set body text in #C0A0FF — 9.06:1 against #0A0A1A passes WCAG AA (AAA) for long-form reading.
- Let #4A3880 carry sidebars, cards and footers — at a mid lightness it separates zones without stealing focus from #1A1A3A.
How to Implement the Desert Night Color Scheme
To use this Desert 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 {
/* Desert Night — ihatecolors */
--color-bg: #0A0A1A;
--color-accent: #1A1A3A;
--color-secondary: #4A3880;
--color-text: #C0A0FF;
} Web Design Tip
#1A1A3A on #0A0A1A measures 1.16: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 #C0A0FF on #0A0A1A measures 9.06:1, which passes WCAG AAA for normal text.
Desert Night Palette — Frequently Asked Questions
What are the hex codes in the Desert Night color palette?
The Desert Night palette contains #0A0A1A, #1A1A3A, #4A3880, #C0A0FF. 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 Desert Night color palette accessible (WCAG)?
Yes. #C0A0FF on #0A0A1A reaches 9.06: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 Desert Night palette?
Beyond its own four colors, #7B7B37, #291D34, #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 Desert Night palette create?
Desert Night reads as dark, vast, peaceful. 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 Desert Night color palette commercially?
Yes. Individual color values can't be copyrighted, so the Desert 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 Desert 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 Desert Night's exact values, including the tint and shade ramps shown above.