Closest web-safe match: #330033

Color Details and Palettes for #1F111E

Details about the color Shot in the Dark#1F111E

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

Magenta family Cool WCAG ink: white
HEX #1F111E RGB rgb(31, 17, 30) HSL hsl(304, 29%, 9%) CMYK cmyk(0%, 45%, 3%, 88%)

Color profile

About Color Hex #1F111E

#1F111E is a cool color from the Magenta family, closest in name to “Shot in the Dark”. In RGB it is rgb(31, 17, 30); in HSL, hsl(304, 29%, 9%).

The color Shot in the Dark, with hexadecimal code #1f111e, 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. At just 29% saturation, this near-neutral shade carries only a subtle hint of its underlying hue, making it versatile for large surfaces and professional contexts. At only 9% 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 31, 17, 30 red · green · blue HSL 304° 29% 9% hue · sat · light HSV 304° 45% 12% design-app pickers CMYK 0 45 3 88 print inks, % Luminance 0.008 0 dark → 1 light On black 1.16:1 ✕ AA contrast ratio On white 18.15:1 ✓ AA contrast ratio Web-safe #330033 closest web-safe Best text white ideal foreground Character Vivid cool · magenta family

The story of this color

History, Usage, Psychology & Design Ideas for #1F111E

Shot in the Dark (#1F111E) belongs to the Magenta 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

Magenta was named after the Battle of Magenta (1859) in Italy, coinciding with the discovery of the first aniline dye of that hue. This synthetic breakthrough launched the modern chemical-dye industry, making vibrant colors accessible to the masses. In the CMYK model, magenta is a primary ink—without it, printers cannot reproduce the warm half of the color spectrum.

Design & Usage Tips

Magenta commands attention and conveys boldness, making it ideal for fashion, entertainment, and disruptive tech brands (T-Mobile's signature magenta is a prime example). Pair it with charcoal or dark teal for grounding, or with lime for an electric, festival-style palette. Magenta headlines on white backgrounds create instant visual impact.

Sitting on the cool side of the spectrum (hue 304°), it promotes a feeling of calm distance and intellectual clarity, which is why cool hues dominate corporate identities, healthcare design, and productivity tools. At 29% 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

Magenta blends red's energy with purple's creativity, producing a color that feels both passionate and unconventional. It signals confidence, non-conformity, and emotional expressiveness. In UX, magenta accent colors can highlight premium features or creative tools.

At just 9% 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 magenta as a gradient endpoint (blue-to-magenta) for modern SaaS branding. Create neon-magenta-on-black compositions for nightlife and music event promotion. In e-commerce, magenta 'New' or 'Hot' badges draw the eye to featured products.

Every format

#1F111E 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
#1F111E

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(31, 17, 30)

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(304, 29%, 9%)

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(304, 45%, 12%)

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(304 7% 88%)

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(0%, 45%, 3%, 88%)

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(20.29% 0.033 329.21)

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

OKLab Modern
oklab(20.29% 0.028 -0.017)

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: 7.10, a: 9.99, b: -6.20

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

LCH Perceptual
L: 7.10, C: 11.76, H: 328.17

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.00, Y: 0.79, Z: 1.33

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
2035998

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 #1F111E

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

Red 31/255 39.7% Green 17/255 21.8% Blue 30/255 38.5%

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 #1F111E

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

0% CYAN 45% MAGENTA 3% YELLOW 88% 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 #1F111E

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

Relative luminance 0.008
0 · dark1 · light

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

Aa Black text 1.16:1 ✕ AA ✕ AAA ✕ Large
Aa White text 18.15:1 ✓ AA ✓ AAA ✓ Large

Developer shortcuts

Quick CSS Snippets for #1F111E

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

shot-in-the-dark.css
background-color: #1F111E;
color: #1F111E;
border: 2px solid #1F111E;
background-color: rgb(31, 17, 30);
background-color: hsl(304, 29%, 9%);
--color: #1F111E;

Shades · light to dark

#1F111E Monochrome Palette

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

#E9E7E8
#C7C4C7
#A5A0A5
#847C83
#625862
#413540
#1F111E
#1A0E1A
#160C15
#110911
#0C070C
#080408
#030203

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

Harmony · 180° apart

#1F111E Complementary Palette

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

#1F111E
#101E11

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

Harmony · adjacent hues

#1F111E Analogic Palette

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

#1F111E
#1E1016
#18101E
#1E1110
#11101E
#1E1810
#10161E

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

Harmony · 120° apart

#1F111E Triadic Palette

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

#1F111E
#1D1E10
#101D1E

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

Harmony · 90° apart

#1F111E Quad Palette

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

#1F111E
#1E1810
#101E11
#10161E

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

Accessibility

Color Blindness Simulation for #1F111E

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.

#1F111E
#1A1B1A
#19191B
#1E1818
#151515
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 #1F111E

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

#101E11
#1E1016
#1D1E10
#1E1810
Complementary opposite hue Analogous adjacent hue Triadic 120° apart Tetradic (Quad) 90° apart

Perceptually nearby

#1F111E Nearby Colors

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

Aubergine#332222
Glossy Black#110011
Voodoo#332233
Shot in the Dark#221122
Dreamless Sleep#111111
Italian Roast#221111
Corbeau#111122
Black-Hearted#331122

From the color-name library

Colors Similar to #1F111E

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

Shot in the Dark#1D0D1D
Crow#180614
Glossy Black#110011
Black Cherry#2C1620
Noir Fiction#150811
Bats Cloak#1F1518
Violet Void#1A161D
Belladonna#220011
Night Demons#201B20
Italian Roast#221111
Back in Black#16141C
Corbeau#111122

Looking for more Purple shades? Browse Purple colors →

Inspiration

Explore Vibrant Images Featuring Shot in the Dark (#1f111e)

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 #1F111E

#1F111E is a cool color from the Magenta family. Its closest matched name is “Shot in the Dark”, matched perceptually with the CIEDE2000 color-difference formula. In RGB it is rgb(31, 17, 30); in HSL, hsl(304, 29%, 9%).
In RGB, #1F111E is rgb(31, 17, 30); in HSL it is hsl(304, 29%, 9%); and in CMYK — the model used for print — it is cmyk(0%, 45%, 3%, 88%).
#1F111E has a contrast ratio of 1.16:1 against black and 18.15: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 #1F111E is #101E11 (opposite on the color wheel). For ready-made combinations, this page includes monochrome, analogous, triadic and tetradic palettes built from #1F111E in the palette sections above.