Lunarpunk
Use #0A0A1A as the background. Use #C0A8FF as the primary accent. Use #FFFFFF as secondary. Use #4A3888 as body text. Palette: Lunarpunk.
Hex Codes, RGB & CMYK Color Values
Technical breakdown for the Lunarpunk 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: 46.4% | 192, 168, 255 | 25%, 34%, 0%, 0% | 257°, 100%, 83% | ||
| Secondary Luminance: 100.0% | 255, 255, 255 | 0%, 0%, 0%, 0% | 0°, 0%, 100% | ||
| Body Text Luminance: 6.1% | 74, 56, 136 | 46%, 59%, 0%, 47% | 253°, 42%, 38% |
Color Harmony: Triadic Scheme
The Lunarpunk palette is built using a triadic relationship between its hues. This ensures that even with high-contrast accents, the overall scheme feels balanced and intentional.
A triadic palette is often preferred by professional designers because it balances visual interest with cohesion.
History & Design Context
Best Design Use Cases
Industries This Palette Suits
How to Implement the Lunarpunk Color Scheme
To use this Lunarpunk 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 #C0A8FF for primary buttons. This creates a high-contrast focal point.
Accessibility Note
The contrast ratio between #4A3888 and #0A0A1A is 2.07:1 (Fail). Ensure your body text remains legible.