Closest web-safe match: #663399

Color Details and Palettes for #5E42B2

Details about the color Royal Nightcore#5E42B2

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

Indigo family Cool WCAG ink: white
HEX #5E42B2 RGB rgb(94, 66, 178) HSL hsl(255, 46%, 48%) CMYK cmyk(47%, 63%, 0%, 30%)

Color profile

About Color Hex #5E42B2

#5E42B2 is a cool color from the Indigo family, closest in name to “Royal Nightcore”. In RGB it is rgb(94, 66, 178); in HSL, hsl(255, 46%, 48%).

The color Royal Nightcore, with hexadecimal code #5e42b2, belongs to the blue color family, the world's most universally preferred hue. Blue projects trust, stability, and intellectual calm, which is why it dominates corporate, financial, and technology branding worldwide. Additionally, it evokes emotions such as Luxury, Royalty, Spirituality, Imagination and Wisdom. Blue signifies tranquility and stability. In Middle Eastern cultures, it can also represent protection against the evil eye, while in Western cultures, it symbolizes calmness and reliability. With a moderate saturation of 46%, it has a softened, muted quality that lends sophistication and works well for backgrounds and secondary elements. With a mid-range lightness of 48%, it offers excellent versatility—readable as text on light backgrounds and visible as an element on dark ones. 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 94, 66, 178 red · green · blue HSL 255° 46% 48% hue · sat · light HSV 255° 63% 70% design-app pickers CMYK 47 63 0 30 print inks, % Luminance 0.095 0 dark → 1 light On black 2.90:1 ✕ AA contrast ratio On white 7.25:1 ✓ AA contrast ratio Web-safe #663399 closest web-safe Best text white ideal foreground Character Vivid cool · indigo family

The story of this color

History, Usage, Psychology & Design Ideas for #5E42B2

Royal Nightcore (#5E42B2) belongs to the Indigo color family.

With moderate saturation and balanced lightness, this muted tone feels sophisticated and understated. Muted hues like this excel in editorial design, professional portfolios, and interior spaces that seek calm refinement.

Historical Background

Indigo dye—extracted from Indigofera plants—has been used for over 6,000 years, with the oldest known samples found in Peru. It was the foundation of the blue-dye trade across India, West Africa, and the Americas, and its economic importance rivaled that of spices. Levi Strauss chose indigo-dyed denim for the first blue jeans in 1873, cementing indigo's place in everyday fashion worldwide.

Design & Usage Tips

Indigo occupies the territory between blue and purple, lending depth without purple's flamboyance. It is excellent for evening-event branding, high-end fashion, and editorial design. Pair indigo with soft gold or warm white for a sophisticated contrast, or with coral for a contemporary editorial palette.

Sitting on the cool side of the spectrum (hue 255°), it promotes a feeling of calm distance and intellectual clarity, which is why cool hues dominate corporate identities, healthcare design, and productivity tools. At 46% saturation, the color has a muted, sophisticated quality that pairs well with bolder accents. It works as a background, a border, or a secondary element in layered compositions.

Psychological Impact

Indigo conveys depth, wisdom, and introspection. It carries the trustworthiness of blue with a hint of purple's creativity, appealing to brands that want to appear both reliable and imaginative—think higher education, think-tanks, and creative consultancies.

With a mid-range lightness of 48%, this tone is highly versatile: dark enough to serve as body text on white, yet light enough to stand out on charcoal or navy backgrounds.

Creative Design Ideas

Use indigo as a full-page background with centered white text for impactful statement pages. Combine indigo with copper accents for a rich, modern luxury feel in packaging. In web design, indigo sidebar navigation with white icons creates a polished, app-like interface.

Every format

#5E42B2 Color Conversions

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

12 formats
HEX Web
#5E42B2

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(94, 66, 178)

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(255, 46%, 48%)

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(255, 63%, 70%)

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(255 26% 30%)

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(47%, 63%, 0%, 30%)

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(47.30% 0.169 289.86)

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

OKLab Modern
oklab(47.30% 0.058 -0.159)

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: 36.91, a: 39.71, b: -55.71

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

LCH Perceptual
L: 36.91, C: 68.42, H: 305.48

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

XYZ CIE Science
X: 14.60, Y: 9.49, Z: 43.18

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
6177458

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 #5E42B2

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

Red 94/255 27.8% Green 66/255 19.5% Blue 178/255 52.7%

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

Ink coverage

CMYK Ink Levels & Print Guide for #5E42B2

Ink needed to reproduce Royal Nightcore in four-color print. Heaviest ink: Magenta.

47% CYAN 63% MAGENTA 0% YELLOW 30% 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 #5E42B2

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

Relative luminance 0.095
0 · dark1 · light

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

Aa Black text 2.90:1 ✕ AA ✕ AAA ✕ Large
Aa White text 7.25:1 ✓ AA ✓ AAA ✓ Large

Developer shortcuts

Quick CSS Snippets for #5E42B2

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

royal-nightcore.css
background-color: #5E42B2;
color: #5E42B2;
border: 2px solid #5E42B2;
background-color: rgb(94, 66, 178);
background-color: hsl(255, 46%, 48%);
--color: #5E42B2;

Shades · light to dark

#5E42B2 Monochrome Palette

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

#EFECF7
#D7D0EC
#BFB3E0
#A697D5
#8E7BC9
#765EBE
#5E42B2
#503897
#422E7D
#342462
#261A47
#18112D
#090712

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

Harmony · 180° apart

#5E42B2 Complementary Palette

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

#5E42B2
#97B342

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

Harmony · adjacent hues

#5E42B2 Analogic Palette

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

#5E42B2
#9742B3
#425EB3
#B34297
#4297B3
#B3425E
#42B397

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

Harmony · 120° apart

#5E42B2 Triadic Palette

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

#5E42B2
#B35E42
#42B35E

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

Harmony · 90° apart

#5E42B2 Quad Palette

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

#5E42B2
#B3425E
#97B342
#42B397

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

Accessibility

Color Blindness Simulation for #5E42B2

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

#5E42B2
#545690
#525297
#5D817D
#505050
Normal vision full color Deuteranopia green weakness ✓ Friendly Protanopia red weakness ✓ Friendly Tritanopia blue-yellow weakness ✕ Not friendly Achromatopsia total color blindness ✕ Not friendly

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

Harmony overview

Color Harmonies for #5E42B2

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

#97B342
#9742B3
#B35E42
#B3425E
Complementary opposite hue Analogous adjacent hue Triadic 120° apart Tetradic (Quad) 90° apart

Perceptually nearby

#5E42B2 Nearby Colors

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

Simply Purple#7755BB
Royalty#5533AA
Lavish Spending#8866CC
Gentian Blue#442299
Royal Nightcore#5544BB
Poppy Pompadour#6644AA
Purple Pristine#7733AA
Denim#3344BB

From the color-name library

Colors Similar to #5E42B2

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

Royal Nightcore#533CC6
Purple Emperor#6633BB
Blurple#5539CC
Poppy Pompadour#6B3FA0
Royalty#5930A9
Ultrapurple Merge#654EA3
Purple Rain#7442C8
Ruthless Empress#573894
Purple Heart#69359C
Shredder Lavender#7737AA
Blueberry#464196
Galaxy Express#444499

Looking for more Blue shades? Browse Blue colors →

Inspiration

Explore Vibrant Images Featuring Royal Nightcore (#5e42b2)

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

Good to know

Frequently Asked Questions about #5E42B2

#5E42B2 is a cool color from the Indigo family. Its closest matched name is “Royal Nightcore”, matched perceptually with the CIEDE2000 color-difference formula. In RGB it is rgb(94, 66, 178); in HSL, hsl(255, 46%, 48%).
In RGB, #5E42B2 is rgb(94, 66, 178); in HSL it is hsl(255, 46%, 48%); and in CMYK — the model used for print — it is cmyk(47%, 63%, 0%, 30%).
#5E42B2 has a contrast ratio of 2.90:1 against black and 7.25: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 #5E42B2 is #97B342 (opposite on the color wheel). For ready-made combinations, this page includes monochrome, analogous, triadic and tetradic palettes built from #5E42B2 in the palette sections above.