#18052E Color Information

Hex color code: #18052E

The hex color #18052E is a deep purple with RGB values of (24, 5, 46) and HSL of (268°, 80%, 10%). It is commonly used in modern UI design.

Try:
Color NameBlack
HEX
#18052E
RGB
24, 5, 46
HSL
268°, 80%, 10%
CMYK
48%, 89%, 0%, 82%

Shades

CSS Usage
color: #18052E;
background-color: #18052E;
border-color: #18052E;
box-shadow: 0 0 10px #18052E;
border: 2px solid #18052E;
Tailwind Usage
bg-[#18052E]
text-[#18052E]
border-[#18052E]
shadow-[0_0_10px_18052E]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #18052E, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #18052E; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #18052E; 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 #18052E; background-color: #18052E15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #18052E20; border-left: 4px solid #18052E; }

Link / Accent

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

a { color: #18052E; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #18052E in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

24, 5, 46

Red: 24 / Green: 5 / Blue: 46

HSL

268°, 80%, 10%

Hue: 268° / Saturation: 80% / Lightness: 10%

CMYK

48%, 89%, 0%, 82%

Cyan: 48% / Magenta: 89% / Yellow: 0% / Key: 82%

What color is #18052E?

#18052E is a very dark shade associated with sophistication and elegance.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #18052E to RGB:

rgb(24, 5, 46)HEX to RGB Converter →

HEX to HSL

Convert #18052E to HSL:

hsl(268, 80%, 10%)RGB to HSL Converter →

HEX to CMYK

Convert #18052E to CMYK:

cmyk(48%, 89%, 0%, 82%)Color Converter →

Color Meaning and Usage

#18052E is a dark purple color with RGB values of 24, 5, 46 and HSL of 268°, 80%, 10%. This very dark shade evokes sophistication and elegance, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #18052E is #1B2E05, creating high-contrast pairings. For softer combinations, try analogous colors like #05062E.

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

Contrast with #18052E

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #18052E?

#18052E is a dark purple color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #18052E?

#18052E in RGB is (24, 5, 46) - 24 red, 5 green, and 46 blue.

How to use #18052E in CSS?

Use #18052E directly in your CSS properties like color or background-color.

What colors go well with #18052E?

#1B2E05 (complementary), #05062E (analogous), and #000000 (lighter shade) work well with #18052E.