Closest web-safe match: #330033

Color Details and Palettes for #25172B

Details about the color Shot in the Dark#25172B

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

Purple family Cool WCAG ink: white
HEX #25172B RGB rgb(37, 23, 43) HSL hsl(282, 30%, 13%) CMYK cmyk(14%, 47%, 0%, 83%)

Color profile

About Color Hex #25172B

#25172B is a cool color from the Purple family, closest in name to “Shot in the Dark”. In RGB it is rgb(37, 23, 43); in HSL, hsl(282, 30%, 13%).

The color Shot in the Dark, with hexadecimal code #25172b, 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 Power, Elegance, Formality, Mystery and Authority. 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. With a moderate saturation of 30%, it has a softened, muted quality that lends sophistication and works well for backgrounds and secondary elements. At only 13% lightness, this extremely dark shade approaches black, delivering maximum drama and contrast when paired with lighter elements. This color is ideal for designs that aim to express Power, Elegance, Formality, Mystery, or Authority. It can be effectively used in web design, branding, and marketing materials to attract attention and convey specific messages.

Key facts

RGB 37, 23, 43 red · green · blue HSL 282° 30% 13% hue · sat · light HSV 282° 47% 17% design-app pickers CMYK 14 47 0 83 print inks, % Luminance 0.012 0 dark → 1 light On black 1.24:1 ✕ AA contrast ratio On white 16.99:1 ✓ AA contrast ratio Web-safe #330033 closest web-safe Best text white ideal foreground Character Vivid cool · purple family

The story of this color

History, Usage, Psychology & Design Ideas for #25172B

Shot in the Dark (#25172B) belongs to the Purple color family.

This deep, saturated shade conveys authority and richness. Deep tones are favored in luxury packaging, evening-event branding, and dark-mode interfaces where they provide dramatic contrast against lighter elements.

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 282°), it promotes a feeling of calm distance and intellectual clarity, which is why cool hues dominate corporate identities, healthcare design, and productivity tools. At 30% 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

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.

At just 13% lightness, this is an extremely dark shade that approaches black. It is best reserved for text, thin borders, or dramatic full-bleed backgrounds paired with light typography.

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

#25172B Color Conversions

Every way to write Shot in the Dark — one-tap copy on every format; tap on any card to learn what it is and when to use it.

12 formats
HEX Web
#25172B

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(37, 23, 43)

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(282, 30%, 13%)

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(282, 47%, 17%)

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(282 9% 83%)

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(14%, 47%, 0%, 83%)

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(23.24% 0.042 315.32)

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

OKLab Modern
oklab(23.24% 0.030 -0.030)

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: 10.41, a: 11.72, b: -10.80

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

LCH Perceptual
L: 10.41, C: 15.94, H: 317.33

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

XYZ CIE Science
X: 1.51, Y: 1.18, Z: 2.43

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
2430763

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 #25172B

How much red, green and blue light mixes into Shot in the Dark.

Red 37/255 35.9% Green 23/255 22.3% Blue 43/255 41.8%

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

Ink coverage

CMYK Ink Levels & Print Guide for #25172B

Ink needed to reproduce Shot in the Dark in four-color print. Heaviest ink: Key (Black).

14% CYAN 47% MAGENTA 0% YELLOW 83% 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 #25172B

How bright Shot in the Dark is, and how far black and white text clear each WCAG bar.

Relative luminance 0.012
0 · dark1 · light

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

Aa Black text 1.24:1 ✕ AA ✕ AAA ✕ Large
Aa White text 16.99:1 ✓ AA ✓ AAA ✓ Large

Developer shortcuts

Quick CSS Snippets for #25172B

Copy-and-paste CSS for Shot in the Dark — per-line copy, or grab the whole block.

shot-in-the-dark.css
background-color: #25172B;
color: #25172B;
border: 2px solid #25172B;
background-color: rgb(37, 23, 43);
background-color: hsl(282, 30%, 13%);
--color: #25172B;

Shades · light to dark

#25172B Monochrome Palette

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

#E9E8EA
#C9C5CA
#A8A2AA
#877F8A
#665D6B
#463A4B
#25172B
#1F1425
#1A101E
#140D18
#0F0911
#09060B
#040204

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

Harmony · 180° apart

#25172B Complementary Palette

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

#25172B
#1D2B17

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

Harmony · adjacent hues

#25172B Analogic Palette

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

#25172B
#2B1727
#1B172B
#2B171D
#171D2B
#2B1B17
#17272B

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

Harmony · 120° apart

#25172B Triadic Palette

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

#25172B
#2B2517
#172B25

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

Harmony · 90° apart

#25172B Quad Palette

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

#25172B
#2B1B17
#1D2B17
#17272B

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

Accessibility

Color Blindness Simulation for #25172B

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

#25172B
#202125
#1F1F26
#242222
#1B1B1B
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 #25172B

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

#1D2B17
#2B1727
#2B2517
#2B1B17
Complementary opposite hue Analogous adjacent hue Triadic 120° apart Tetradic (Quad) 90° apart

Perceptually nearby

#25172B Nearby Colors

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

Voodoo#332233
Black Sabbath#220022
Voodoo#443344
Glossy Black#110011
Midnight Monarch#221133
Lead#222222
Shot in the Dark#221122
Black-Hearted#331122

From the color-name library

Colors Similar to #25172B

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

Shot in the Dark#1D0D1D
Dark Prom Queen#2B0F2E
Black Cherry#2C1620
Midnight Velvet#2A2243
Crow#180614
Midnight Monarch#1C0F33
Black Sabbath#220022
Glossy Black#110011
Black Velvet#222233
Nightly Voyager#391531
Dark Knight#151931
Corbeau#111122

Looking for more Purple shades? Browse Purple colors →

Inspiration

Explore Vibrant Images Featuring Shot in the Dark (#25172b)

Curated Unsplash photos that carry the mood of Shot in the Dark — hover any tile to download it or view the original.

Good to know

Frequently Asked Questions about #25172B

#25172B is a cool color from the Purple family. Its closest matched name is “Shot in the Dark”, matched perceptually with the CIEDE2000 color-difference formula. In RGB it is rgb(37, 23, 43); in HSL, hsl(282, 30%, 13%).
In RGB, #25172B is rgb(37, 23, 43); in HSL it is hsl(282, 30%, 13%); and in CMYK — the model used for print — it is cmyk(14%, 47%, 0%, 83%).
#25172B has a contrast ratio of 1.24:1 against black and 16.99: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 #25172B is #1D2B17 (opposite on the color wheel). For ready-made combinations, this page includes monochrome, analogous, triadic and tetradic palettes built from #25172B in the palette sections above.