Desert Night
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% |
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.
A analogous palette is often preferred by professional designers because it creates a calm, serene atmosphere by using neighboring colors.
History & Design Context
Best Design Use Cases
Industries This Palette Suits
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.