#0A0A1A
#1A1A3A
#4A3880
#C0A0FF
Background
Primary Accent
Secondary
Body Text

Desert Night Color Palette

#0A0A1A · #1A1A3A · #4A3880 · #C0A0FF

AAA
WCAG Grade
9.1:1
Contrast Ratio
1,900
Saves
5,000
AI Copies
AI Prompt

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%
Primary Accent
Luminance: 1.3%
26, 26, 58 55%, 55%, 0%, 77% 240°, 38%, 16%
Secondary
Luminance: 5.8%
74, 56, 128 42%, 56%, 0%, 50% 255°, 39%, 36%
Body Text
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.

#0A0A1A gently saturated blue
#1A1A3A gently saturated blue
#4A3880 gently saturated violet
#C0A0FF saturated violet

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.07:1 AAA Body text, headings, UI
#0A0A1A on #C0A0FF
Aa Sample Text
9.07: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.48:1 Fail Large headings, UI components
#4A3880 on #C0A0FF
Aa Sample Text
4.48: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.17:1 Fail Decorative use only
#0A0A1A on #1A1A3A
Aa Sample Text
1.17:1 Fail Decorative use only

Desert Night Color Psychology & Meaning

Desert night is the sky without light pollution — these deep purples and distant violet stars are what the Milky Way actually looks like away from cities.

Color Harmony: Analogous Scheme

The Desert Night palette is built using a analogous relationship between its hues. This ensures that even with high-contrast accents, the overall scheme feels balanced and intentional.

Hue Wheel

A analogous palette is often preferred by professional designers because it creates a calm, serene atmosphere by using neighboring colors.

History & Design Context

Dark sky parks and desert astronomy tourism have grown significantly since 2010. The desert night palette represents one of the most visually stunning natural experiences left on Earth.

Best Design Use Cases

Near-black for dominant backgrounds. Dark navy-purple for surfaces. Medium purple for interactive elements. Soft violet for text on dark backgrounds.

Industries This Palette Suits

Astronomy brands, dark sky tourism, wellness retreats, editorial, science communication.

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.

yellow

directly opposite #1A1A3A on the wheel — the strongest accent for CTAs and highlights when you need maximum energy

violet

30° beside #1A1A3A — a calm secondary that extends the palette without adding tension

tinted neutral

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.2:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
  • Set body text in #C0A0FF — 9.1: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, you can copy the following CSS variables or Tailwind CSS configuration. These roles ensure your UI maintains accessibility and visual hierarchy.

Option 1: CSS Variables

:root { 
  /* {name} Palette - ihatecolors.com */{'
'}  --color-bg: {colors[0]};{'
'}  --color-primary: {colors[1]};{'
'}  --color-secondary: {colors[2]};{'
'}  --color-text: {colors[3]};{'
'} {'}'}

Web Design Tip

Use #0A0A1A for the main background and #1A1A3A for primary buttons. This creates a high-contrast focal point.

Accessibility Note

The contrast ratio between #C0A0FF and #0A0A1A is 9.07:1 (AAA). Ensure your body text remains legible.

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 for its strongest pairings: #C0A0FF on #0A0A1A reaches 9.1:1 (AAA). For body text always keep a 4.5:1 ratio and for large UI elements 3:1 — the full contrast matrix above shows the exact score for every color-on-color combination 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.

Similar Palettes

Live Preview
Generate Similar ✦
Skip to content