← Back to Editor

#402B3D · #EBEBEB · #39B368 · #26325C · #0A0A0A

A 5-color palette palette · Complete color analysis and application guide

Scene Recommendations Scene Recommendations

Emotion EMOTION

ProfoundPremiumWarmCool

Industry INDUSTRY

FinanceLuxury

UI Context UI CONTEXT

Dark ThemeCorporateData Visualization

Color Details Color Details

#402B3D

Rose Purple · DarkSlateGray · Eggplant

HEX
#402B3D
RGB
rgb(64, 43, 61)
HSL
hsl(309, 20%, 21%)
HSB
hsb(309, 33%, 25%)
CMYK
cmyk(0%, 33%, 5%, 75%)
Oklch
oklch(32.1% 0.043 331.6)

TraditionalRose Purple」· PaintEggplant」· Creative Blush Sunrise

#EBEBEB

Plain White · Lavender · Cloud White

HEX
#EBEBEB
RGB
rgb(235, 235, 235)
HSL
hsl(0, 0%, 92%)
HSB
hsb(0, 0%, 92%)
CMYK
cmyk(0%, 0%, 0%, 8%)
Oklch
oklch(94.0% 0.000 89.9)

TraditionalPlain White」· PaintCloud White」· Creative Morning Mist

#39B368

Pine Green · MediumSeaGreen · Olive Green

HEX
#39B368
RGB
rgb(57, 179, 104)
HSL
hsl(143, 52%, 46%)
HSB
hsb(143, 68%, 70%)
CMYK
cmyk(68%, 0%, 42%, 30%)
Oklch
oklch(68.1% 0.154 152.4)

TraditionalPine Green」· PaintOlive Green」· Creative Blush Sunrise

#26325C

Indigo · DarkSlateGray · Prussian Blue

HEX
#26325C
RGB
rgb(38, 50, 92)
HSL
hsl(227, 42%, 25%)
HSB
hsb(227, 59%, 36%)
CMYK
cmyk(59%, 46%, 0%, 64%)
Oklch
oklch(32.9% 0.076 269.8)

TraditionalIndigo」· PaintPrussian Blue」· Creative Blush Sunrise

#0A0A0A

Ink Black · Black · Jet Black

HEX
#0A0A0A
RGB
rgb(10, 10, 10)
HSL
hsl(0, 0%, 4%)
HSB
hsb(0, 0%, 4%)
CMYK
cmyk(0%, 0%, 0%, 96%)
Oklch
oklch(14.5% 0.000 89.9)

TraditionalInk Black」· PaintJet Black」· Creative Midnight Shadow

Color Harmonies Color Harmonies

Based on color wheel theory, calculated from primary color

Complementary

402B3D
2B402E

Analogous

392B40
402B3D
402B32

Triadic

402B3D
3D402B
2B3D40

Split-Comp.

402B3D
32402B
2B4039

Tetradic

402B3D
40392B
2B402E
2B3240

Contrast Matrix WCAG 2.1 Contrast

402B3D
EBEBEB
39B368
26325C
0A0A0A
10.8
AAA
4.8
AA
1.0
Fail
1.5
Fail
10.8
AAA
2.3
Fail
10.4
AAA
16.6
AAA
4.8
AA
2.3
Fail
4.6
AA
7.4
AAA
1.0
Fail
10.4
AAA
4.6
AA
1.6
Fail
1.5
Fail
16.6
AAA
7.4
AAA
1.6
Fail
White BG
12.9AAA
1.2Fail
2.7Fail
12.4AAA
19.8AAA
Black BG
1.6Fail
17.6AAA
7.8AAA
1.7Fail
1.1Fail

Color Blindness Simulation Color Blindness Simulation

Protanopia

373739
EBEBEB
6E6F7A
2B2B52
0A0A0A

Deuteranopia

383A38
EBEBEB
675E7F
2B2A4F
0A0A0A

Tritanopia

3F3534
EBEBEB
3F888C
274A48
0A0A0A

Achromatopsia

333333
EBEBEB
868686
333333
0A0A0A

Shades & Tints Shades & Tints

#402B3D

Dark
Light

#EBEBEB

Dark
Light

#39B368

Dark
Light

Code Snippets Code Snippets

CSS Custom Properties

:root {
  --color-1: #402b3d;
  --color-2: #ebebeb;
  --color-3: #39b368;
  --color-4: #26325c;
  --color-5: #0a0a0a;
}

SCSS

$color-1: #402b3d;
$color-2: #ebebeb;
$color-3: #39b368;
$color-4: #26325c;
$color-5: #0a0a0a;

TAILWIND

colors: {
  'brand-1': '#402b3d',
  'brand-2': '#ebebeb',
  'brand-3': '#39b368',
  'brand-4': '#26325c',
  'brand-5': '#0a0a0a',
}

RGB Array

[64, 43, 61], [235, 235, 235], [57, 179, 104], [38, 50, 92], [10, 10, 10]

FAQ FAQ

What scenarios is this 5-color palette suitable for?

This general-style palette of #402B3D, #EBEBEB, #39B368, #26325C, #0A0A0A is ideal for: brand design, premium product pages, magazine layouts, tech websites, dark mode UIs, game UIs, infographics, data visualization, accessible design. Low-saturation colors convey a sophisticated, premium feel. High contrast ensures clear visual hierarchy and readability. It is a classic and elegant choice among 5-color palettes.

How to use this palette in CSS or frontend projects?

Copy the CSS variables directly: --color-1: #402b3d; --color-2: #ebebeb; --color-3: #39b368; --color-4: #26325c; --color-5: #0a0a0a. LangColor editor supports one-click export to CSS, SCSS, Tailwind, JSON and more. Click the "Export" button to choose your format.

What UI/UX design tips apply to this palette?

Dark tones work well as backgrounds; pair with light text for readability. Use the brightest color for CTA buttons and interactive elements. High-contrast palettes naturally meet WCAG accessibility standards. Use the "Contrast Matrix" tool in LangColor editor to check WCAG accessibility levels for every color pair.

Which industries or brands suit this palette?

This general-style 5-color scheme is especially suited for finance, legal, luxury industries. Restrained colors convey professionalism and trust. Click "AI Analysis" in the editor for more detailed brand color suggestions.

🎨 Open this palette in Editor →

Generated by LangColor online color tool · Breaking the barrier between language and color