Closest web-safe match: #663399

Color Details and Palettes for #5A338E

Details about the color Night Fever#5A338E

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

Indigo family Cool WCAG ink: white
HEX #5A338E RGB rgb(90, 51, 142) HSL hsl(266, 47%, 38%) CMYK cmyk(37%, 64%, 0%, 44%)

Color profile

About Color Hex #5A338E

#5A338E is a cool color from the Indigo family, closest in name to “Night Fever”. In RGB it is rgb(90, 51, 142); in HSL, hsl(266, 47%, 38%).

The color Night Fever, with hexadecimal code #5a338e, 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 47%, it has a softened, muted quality that lends sophistication and works well for backgrounds and secondary elements. Its low lightness of 38% 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 90, 51, 142 red · green · blue HSL 266° 47% 38% hue · sat · light HSV 266° 64% 56% design-app pickers CMYK 37 64 0 44 print inks, % Luminance 0.065 0 dark → 1 light On black 2.30:1 ✕ AA contrast ratio On white 9.13: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 #5A338E

Night Fever (#5A338E) 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 266°), it promotes a feeling of calm distance and intellectual clarity, which is why cool hues dominate corporate identities, healthcare design, and productivity tools. At 47% 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 38%, 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

#5A338E Color Conversions

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

12 formats
HEX Web
#5A338E

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(90, 51, 142)

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(266, 47%, 38%)

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(266, 64%, 56%)

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(266 20% 44%)

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(37%, 64%, 0%, 44%)

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(41.80% 0.145 299.87)

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

OKLab Modern
oklab(41.80% 0.072 -0.126)

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: 30.63, a: 37.27, b: -44.17

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

LCH Perceptual
L: 30.63, C: 57.79, H: 310.16

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

XYZ CIE Science
X: 10.28, Y: 6.49, Z: 26.30

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
5911438

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

How much red, green and blue light mixes into Night Fever.

Red 90/255 31.8% Green 51/255 18.0% Blue 142/255 50.2%

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

Ink coverage

CMYK Ink Levels & Print Guide for #5A338E

Ink needed to reproduce Night Fever in four-color print. Heaviest ink: Magenta.

37% CYAN 64% MAGENTA 0% YELLOW 44% 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 #5A338E

How bright Night Fever is, and how far black and white text clear each WCAG bar.

Relative luminance 0.065
0 · dark1 · light

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

Aa Black text 2.30:1 ✕ AA ✕ AAA ✕ Large
Aa White text 9.13:1 ✓ AA ✓ AAA ✓ Large

Developer shortcuts

Quick CSS Snippets for #5A338E

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

night-fever.css
background-color: #5A338E;
color: #5A338E;
border: 2px solid #5A338E;
background-color: rgb(90, 51, 142);
background-color: hsl(266, 47%, 38%);
--color: #5A338E;

Shades · light to dark

#5A338E Monochrome Palette

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

#EEEBF4
#D6CCE3
#BDADD2
#A48FC1
#8C70B0
#73529F
#5A338E
#4D2B79
#3F2463
#321C4E
#241439
#170D24
#09050E

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

Harmony · 180° apart

#5A338E Complementary Palette

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

#5A338E
#678E33

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

Harmony · adjacent hues

#5A338E Analogic Palette

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

#5A338E
#88338E
#33398E
#8E3367
#33678E
#8E3339
#338E88

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

Harmony · 120° apart

#5A338E Triadic Palette

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

#5A338E
#8E5B33
#338E5B

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

Harmony · 90° apart

#5A338E Quad Palette

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

#5A338E
#8E3339
#678E33
#338E88

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

Accessibility

Color Blindness Simulation for #5A338E

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

#5A338E
#4B4E73
#494978
#586763
#424242
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 #5A338E

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

#678E33
#88338E
#8E5B33
#8E3339
Complementary opposite hue Analogous adjacent hue Triadic 120° apart Tetradic (Quad) 90° apart

Perceptually nearby

#5A338E Nearby Colors

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

Poppy Pompadour#664499
Explorer of the Galaxies#442277
Royal Lavender#7755AA
Galactic Federation#331177
Ruthless Empress#553399
Night Fever#553388
Sapphire Siren#662288
Galaxy Express#444499

From the color-name library

Colors Similar to #5A338E

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

Night Fever#572E89
Purple Patch#5C2E88
Ruthless Empress#573894
Lucid Dreams#632F92
Kingfisher Daisy#583580
Purple Heart#69359C
Queens of the Dead#652793
Galactic Purple#472E97
Majestic Eggplant#443388
Intergalactic Settlement#5B1E8B
Wild Violet#63209B
Royalty#5930A9

Looking for more Blue shades? Browse Blue colors →

Inspiration

Explore Vibrant Images Featuring Night Fever (#5a338e)

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

Good to know

Frequently Asked Questions about #5A338E

#5A338E is a cool color from the Indigo family. Its closest matched name is “Night Fever”, matched perceptually with the CIEDE2000 color-difference formula. In RGB it is rgb(90, 51, 142); in HSL, hsl(266, 47%, 38%).
In RGB, #5A338E is rgb(90, 51, 142); in HSL it is hsl(266, 47%, 38%); and in CMYK — the model used for print — it is cmyk(37%, 64%, 0%, 44%).
#5A338E has a contrast ratio of 2.30:1 against black and 9.13: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 #5A338E is #678E33 (opposite on the color wheel). For ready-made combinations, this page includes monochrome, analogous, triadic and tetradic palettes built from #5A338E in the palette sections above.