#1B151E Color Information

Hex color code: #1B151E

The hex color #1B151E is a deep purple with RGB values of (27, 21, 30) and HSL of (280°, 18%, 10%). It is commonly used in modern UI design.

Try:
Color NameBlack
HEX
#1B151E
RGB
27, 21, 30
HSL
280°, 18%, 10%
CMYK
10%, 30%, 0%, 88%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #1B151E; 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 #1B151E; background-color: #1B151E15; }

Alert / Toast

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

Link / Accent

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

a { color: #1B151E; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #1B151E in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

27, 21, 30

Red: 27 / Green: 21 / Blue: 30

HSL

280°, 18%, 10%

Hue: 280° / Saturation: 18% / Lightness: 10%

CMYK

10%, 30%, 0%, 88%

Cyan: 10% / Magenta: 30% / Yellow: 0% / Key: 88%

What color is #1B151E?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #1B151E to RGB:

rgb(27, 21, 30)HEX to RGB Converter →

HEX to HSL

Convert #1B151E to HSL:

hsl(280, 18%, 10%)RGB to HSL Converter →

HEX to CMYK

Convert #1B151E to CMYK:

cmyk(10%, 30%, 0%, 88%)Color Converter →

Color Meaning and Usage

#1B151E is a dark purple color with RGB values of 27, 21, 30 and HSL of 280°, 18%, 10%. This very dark shade evokes sophistication and elegance, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #1B151E is #181E15, creating high-contrast pairings. For softer combinations, try analogous colors like #16151E.

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

Contrast with #1B151E

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #1B151E?

#1B151E is a dark purple color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #1B151E?

#1B151E in RGB is (27, 21, 30) - 27 red, 21 green, and 30 blue.

How to use #1B151E in CSS?

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

What colors go well with #1B151E?

#181E15 (complementary), #16151E (analogous), and #000000 (lighter shade) work well with #1B151E.