Closest web-safe match: #333333

Color Details and Palettes for #342B3D

Details about the color Royal Decree#342B3D

Conversions, palettes, contrast & design ideas for this color.

Purple family Cool WCAG ink: white
HEX #342B3D RGB rgb(52, 43, 61) HSL hsl(270, 17%, 20%) CMYK cmyk(15%, 30%, 0%, 76%)

Color profile

About Color Hex #342B3D

#342B3D is a cool color from the Purple family, closest in name to “Royal Decree”. In RGB it is rgb(52, 43, 61); in HSL, hsl(270, 17%, 20%).

The color Royal Decree, with hexadecimal code #342b3d, lands in the purple family, historically reserved for royalty due to the extreme cost of Tyrian dye. Purple activates imagination and spiritual contemplation, blending red's passion with blue's serenity. Additionally, it evokes emotions such as Luxury, Royalty, Spirituality, Imagination and Wisdom. Purple is often linked to creativity, luxury, and spirituality. In Western cultures, it is also associated with ambition and wealth. Indigo and violet have long signified royalty and nobility. At just 17% saturation, this near-neutral shade carries only a subtle hint of its underlying hue, making it versatile for large surfaces and professional contexts. Its low lightness of 20% produces a deep, rich appearance—conveying gravity and luxury, particularly effective in dark-mode designs and premium packaging. This color is ideal for designs that aim to express Luxury, Royalty, Spirituality, Imagination, or Wisdom. It can be effectively used in web design, branding, and marketing materials to attract attention and convey specific messages.

Key facts

RGB 52, 43, 61 red · green · blue HSL 270° 17% 20% hue · sat · light HSV 270° 30% 24% design-app pickers CMYK 15 30 0 76 print inks, % Luminance 0.028 0 dark → 1 light On black 1.56:1 ✕ AA contrast ratio On white 13.47:1 ✓ AA contrast ratio Web-safe #333333 closest web-safe Best text white ideal foreground Character Vivid cool · purple family

The story of this color

History, Usage, Psychology & Design Ideas for #342B3D

Royal Decree (#342B3D) belongs to the Purple color family.

With a dusty, low-saturation character, this color offers quiet complexity—neither bold nor faded. Dusty tones add vintage charm to retro-inspired designs and pair beautifully with metallic accents like copper or brass.

Historical Background

Tyrian purple—derived from the mucus of Murex sea snails—required 12,000 snails to produce just 1.5 grams of dye, making it the most expensive substance in the ancient world. Roman emperors decreed it exclusive to royalty, and Byzantine empresses gave birth in a porphyry-lined chamber so children could be 'born in the purple.' This legacy of exclusivity persists: purple remains shorthand for luxury and prestige.

Design & Usage Tips

Purple excels in beauty, wellness, and premium lifestyle branding. Lighter purples (lavender, lilac) suit self-care and floral products, while saturated purples project confidence and creativity. Pair purple with mint green for a fresh contrast, or with charcoal for understated elegance.

Sitting on the cool side of the spectrum (hue 270°), it promotes a feeling of calm distance and intellectual clarity, which is why cool hues dominate corporate identities, healthcare design, and productivity tools. With only 17% saturation, this near-neutral shade carries just a hint of its underlying hue—subtle enough for large surfaces yet adding more warmth (or coolness) than a pure gray.

Psychological Impact

Purple activates imagination and spiritual contemplation. It blends red's passion with blue's calm, creating a sense of creative tension. In marketing, purple appeals to audiences seeking uniqueness, quality, and a touch of the mystical.

Its low lightness of 20% gives it a deep, intense presence. Deep tones like this excel as dark-mode backgrounds, header bars, and anywhere a sense of gravity or luxury is desired.

Creative Design Ideas

Use deep purple backgrounds with metallic gold or rose-gold typography for luxury brand identities. Create purple-to-pink gradients for creative agency hero sections. In app design, purple primary buttons with white text feel premium and distinctive against light backgrounds.

Every format

#342B3D Color Conversions

Every way to write Royal Decree — one-tap copy on every format; tap on any card to learn what it is and when to use it.

12 formats
HEX Web
#342B3D

Hexadecimal is the web’s universal color notation — two digits each for red, green and blue. Drop it straight into HTML, CSS or any design tool.

RGB Screen
rgb(52, 43, 61)

RGB is the additive Red-Green-Blue model every screen uses to emit light. The default choice for websites, apps and on-screen UI.

HSL Web
hsl(270, 17%, 20%)

HSL breaks a color into Hue, Saturation and Lightness — the most intuitive way to lighten, darken or mute a color in CSS.

HSV HSB Design
hsv(270, 30%, 24%)

HSV (also called HSB) maps Hue, Saturation and Value/Brightness. It is the model behind the color pickers in Photoshop, Figma and most design apps.

HWB CSS 4
hwb(270 17% 76%)

HWB blends a pure hue with Whiteness and Blackness — a painter-friendly model added in CSS Color 4 for quick tints and shades.

CMYK Print
cmyk(15%, 30%, 0%, 76%)

CMYK is the subtractive Cyan-Magenta-Yellow-Black ink model. Use these values when preparing artwork for a printer or commercial press.

OKLCH Modern
oklch(30.67% 0.034 307.22)

OKLCH is a modern, perceptually-uniform space (Lightness, Chroma, Hue). It powers smooth gradients and accessible palettes in today’s CSS.

OKLab Modern
oklab(30.67% 0.021 -0.027)

OKLab is the Cartesian form of OKLCH — ideal for blending and interpolating colors without the muddy midpoints older spaces produce.

CIELAB L*a*b* Perceptual
L: 19.20, a: 8.40, b: -9.91

CIELAB is a device-independent, perceptually-uniform space. It is the standard for measuring color difference (ΔE) and matching across devices.

LCH Perceptual
L: 19.20, C: 12.99, H: 310.29

LCH is CIELAB in cylindrical form — Lightness, Chroma and Hue — letting you adjust vividness and hue while staying perceptually even.

XYZ CIE Science
X: 3.12, Y: 2.79, Z: 4.79

CIE XYZ is the 1931 master space that underpins every other model here — the scientific bridge used to convert between color systems.

Decimal int Code
3418941

The 24-bit integer value of the color — handy for databases, APIs, game engines and low-level graphics code.

Channel breakdown

RGB Color Percentages for #342B3D

How much red, green and blue light mixes into Royal Decree.

Red 52/255 33.3% Green 43/255 27.6% Blue 61/255 39.1%

Percentages show each channel's share of the total light (R + G + B) in Royal Decree.

Ink coverage

CMYK Ink Levels & Print Guide for #342B3D

Ink needed to reproduce Royal Decree in four-color print. Heaviest ink: Key (Black).

15% CYAN 30% MAGENTA 0% YELLOW 76% KEY

Print tip: treat these values as a starting point — final output depends on printer profile, paper stock and calibration.

Accessibility · WCAG

Luminance & Contrast for #342B3D

How bright Royal Decree is, and how far black and white text clear each WCAG bar.

Relative luminance 0.028
0 · dark1 · light

Contrast ratio · 1:1 → 21:1 (log scale)

Aa Black text 1.56:1 ✕ AA ✕ AAA ✕ Large
Aa White text 13.47:1 ✓ AA ✓ AAA ✓ Large

Developer shortcuts

Quick CSS Snippets for #342B3D

Copy-and-paste CSS for Royal Decree — per-line copy, or grab the whole block.

royal-decree.css
background-color: #342B3D;
color: #342B3D;
border: 2px solid #342B3D;
background-color: rgb(52, 43, 61);
background-color: hsl(270, 17%, 20%);
--color: #342B3D;

Shades · light to dark

#342B3D Monochrome Palette

Lighter and darker steps of Royal Decree — the color's full brightness range in one strip.

#EBEAEC
#CCCACF
#AEAAB1
#8F8A94
#716B77
#524B5A
#342B3D
#2C2534
#241E2B
#1D1822
#151118
#0D0B0F
#050406

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Harmony · 180° apart

#342B3D Complementary Palette

Two colors opposite on the wheel — maximum contrast for attention-grabbing accents.

#342B3D
#333C2A

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Harmony · adjacent hues

#342B3D Analogic Palette

Neighboring hues on the wheel — harmonious, calm combinations that feel unified.

#342B3D
#3C2A3C
#2A2A3C
#3C2A33
#2A333C
#3C2A2A
#2A3C3C

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Harmony · 120° apart

#342B3D Triadic Palette

Three colors evenly spaced on the wheel — vibrant and energetic, yet balanced.

#342B3D
#3C332A
#2A3C33

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Harmony · 90° apart

#342B3D Quad Palette

Four colors evenly spaced on the wheel (tetradic) — rich schemes with multiple accents.

#342B3D
#3C2A2A
#333C2A
#2A3C3C

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Accessibility

Color Blindness Simulation for #342B3D

How Royal Decree reads across five kinds of color vision — a ✓ Friendly verdict means the color difference stays distinguishable for that vision type.

#342B3D
#313138
#303039
#343534
#2E2E2E
Normal vision full color Deuteranopia green weakness ✓ Friendly Protanopia red weakness ✓ Friendly Tritanopia blue-yellow weakness ✓ Friendly Achromatopsia total color blindness ✓ Friendly

The dot marks the original color. Hover any shade to copy its hex.

Harmony overview

Color Harmonies for #342B3D

The lead color from each harmony scheme, side by side — a shortcut to the full palettes above.

#333C2A
#3C2A3C
#3C332A
#3C2A2A
Complementary opposite hue Analogous adjacent hue Triadic 120° apart Tetradic (Quad) 90° apart

Perceptually nearby

#342B3D Nearby Colors

A step away in brightness, richness or shade — each still feels like the same color.

Voodoo#443344
Black Velvet#222233
Black Magic#554455
Shot in the Dark#221122
Midnight Velvet#332244
Carbon#333333
Voodoo#332233
Shuriken#333344

From the color-name library

Colors Similar to #342B3D

The closest named colors to #342B3D — same mood, each with its own character.

Royal Decree#403547
Call It a Night#42364C
Maharaja#3F354F
Shuriken#333344
Melanzane#342931
Voodoo#443240
Haiti#2C2A35
Professor Plum#393540
Midnight Masquerade#2C2E47
Sanctum of Shadows#3C2F4E
Black Velvet#222233
Witches Cauldron#35343F

Looking for more Purple shades? Browse Purple colors →

Inspiration

Explore Vibrant Images Featuring Royal Decree (#342b3d)

Curated Unsplash photos that carry the mood of Royal Decree — hover any tile to download it or view the original.

Good to know

Frequently Asked Questions about #342B3D

#342B3D is a cool color from the Purple family. Its closest matched name is “Royal Decree”, matched perceptually with the CIEDE2000 color-difference formula. In RGB it is rgb(52, 43, 61); in HSL, hsl(270, 17%, 20%).
In RGB, #342B3D is rgb(52, 43, 61); in HSL it is hsl(270, 17%, 20%); and in CMYK — the model used for print — it is cmyk(15%, 30%, 0%, 76%).
#342B3D has a contrast ratio of 1.56:1 against black and 13.47:1 against white. For readability, white body text meets the WCAG AA threshold of 4.5:1 on it, while black does not.
The direct complement of #342B3D is #333C2A (opposite on the color wheel). For ready-made combinations, this page includes monochrome, analogous, triadic and tetradic palettes built from #342B3D in the palette sections above.