#18111D Color Information

Hex color code: #18111D

The hex color #18111D is a dramatic purple with RGB values of (24, 17, 29) and HSL of (275°, 26%, 9%). It is typically applied in digital products.

Try:
Color NameBlack
HEX
#18111D
RGB
24, 17, 29
HSL
275°, 26%, 9%
CMYK
17%, 41%, 0%, 89%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #18111D; 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 #18111D; background-color: #18111D15; }

Alert / Toast

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

Link / Accent

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

a { color: #18111D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

24, 17, 29

Red: 24 / Green: 17 / Blue: 29

HSL

275°, 26%, 9%

Hue: 275° / Saturation: 26% / Lightness: 9%

CMYK

17%, 41%, 0%, 89%

Cyan: 17% / Magenta: 41% / Yellow: 0% / Key: 89%

What color is #18111D?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #18111D to RGB:

rgb(24, 17, 29)HEX to RGB Converter →

HEX to HSL

Convert #18111D to HSL:

hsl(275, 26%, 9%)RGB to HSL Converter →

HEX to CMYK

Convert #18111D to CMYK:

cmyk(17%, 41%, 0%, 89%)Color Converter →

Color Meaning and Usage

A deep purple tone, #18111D has RGB (24, 17, 29) and HSL (275°, 26%, 9%). Known for evoking sophistication and elegance, this very dark shade is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #18111D is #161D11, creating high-contrast pairings. For softer combinations, try analogous colors like #12111D.

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

Contrast with #18111D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #18111D?

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

What is the RGB value of #18111D?

#18111D in RGB is (24, 17, 29) - 24 red, 17 green, and 29 blue.

How to use #18111D in CSS?

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

What colors go well with #18111D?

#161D11 (complementary), #12111D (analogous), and #000000 (lighter shade) work well with #18111D.