#12071D Color Information

Hex color code: #12071D

A rich purple shade, #12071D appears as (18, 7, 29) in RGB and (270°, 61%, 7%) in HSL. It is popular in mobile app design.

Try:
Color NameBlack
HEX
#12071D
RGB
18, 7, 29
HSL
270°, 61%, 7%
CMYK
38%, 76%, 0%, 89%

Shades

CSS Usage
color: #12071D;
background-color: #12071D;
border-color: #12071D;
box-shadow: 0 0 10px #12071D;
border: 2px solid #12071D;
Tailwind Usage
bg-[#12071D]
text-[#12071D]
border-[#12071D]
shadow-[0_0_10px_12071D]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #12071D, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #12071D; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #12071D; color: #FFFFFF; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #12071D; background-color: #12071D15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #12071D20; border-left: 4px solid #12071D; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #12071D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #12071D in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

18, 7, 29

Red: 18 / Green: 7 / Blue: 29

HSL

270°, 61%, 7%

Hue: 270° / Saturation: 61% / Lightness: 7%

CMYK

38%, 76%, 0%, 89%

Cyan: 38% / Magenta: 76% / Yellow: 0% / Key: 89%

What color is #12071D?

#12071D is a very dark shade associated with sophistication and elegance.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #12071D to RGB:

rgb(18, 7, 29)HEX to RGB Converter →

HEX to HSL

Convert #12071D to HSL:

hsl(270, 61%, 7%)RGB to HSL Converter →

HEX to CMYK

Convert #12071D to CMYK:

cmyk(38%, 76%, 0%, 89%)Color Converter →

Color Meaning and Usage

A deep purple tone, #12071D has RGB (18, 7, 29) and HSL (270°, 61%, 7%). Known for evoking sophistication and elegance, this very dark shade is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #12071D is #121D07, creating high-contrast pairings. For softer combinations, try analogous colors like #07071D.

Use #12071D in CSS: color: #12071D or background-color: #12071D. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #12071D

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 1.07:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #12071D?

#12071D is a deep purple color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #12071D?

#12071D in RGB is (18, 7, 29) - 18 red, 7 green, and 29 blue.

How to use #12071D in CSS?

Use #12071D directly in your CSS properties like color or background-color.

What colors go well with #12071D?

#121D07 (complementary), #07071D (analogous), and #000000 (lighter shade) work well with #12071D.