#180835 Color Information

Hex color code: #180835

The hex color #180835 is a dark purple with RGB values of (24, 8, 53) and HSL of (261°, 74%, 12%). It is frequently seen in web interfaces.

Try:
Color NameBlack
HEX
#180835
RGB
24, 8, 53
HSL
261°, 74%, 12%
CMYK
55%, 85%, 0%, 79%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #180835; 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 #180835; background-color: #18083515; }

Alert / Toast

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

Link / Accent

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

a { color: #180835; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #180835 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

24, 8, 53

Red: 24 / Green: 8 / Blue: 53

HSL

261°, 74%, 12%

Hue: 261° / Saturation: 74% / Lightness: 12%

CMYK

55%, 85%, 0%, 79%

Cyan: 55% / Magenta: 85% / Yellow: 0% / Key: 79%

What color is #180835?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #180835 to RGB:

rgb(24, 8, 53)HEX to RGB Converter →

HEX to HSL

Convert #180835 to HSL:

hsl(261, 74%, 12%)RGB to HSL Converter →

HEX to CMYK

Convert #180835 to CMYK:

cmyk(55%, 85%, 0%, 79%)Color Converter →

Color Meaning and Usage

#180835 is a dramatic purple color with RGB values of 24, 8, 53 and HSL of 261°, 74%, 12%. This very dark shade evokes sophistication and elegance, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #180835 is #253508, creating high-contrast pairings. For softer combinations, try analogous colors like #080F35.

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

Contrast with #180835

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #180835?

#180835 is a dramatic purple color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #180835?

#180835 in RGB is (24, 8, 53) - 24 red, 8 green, and 53 blue.

How to use #180835 in CSS?

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

What colors go well with #180835?

#253508 (complementary), #080F35 (analogous), and #000000 (lighter shade) work well with #180835.