#1F191B Color Information

Hex color code: #1F191B

A dark magenta shade, #1F191B appears as (31, 25, 27) in RGB and (340°, 11%, 11%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameBlack
HEX
#1F191B
RGB
31, 25, 27
HSL
340°, 11%, 11%
CMYK
0%, 19%, 13%, 88%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #1F191B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

31, 25, 27

Red: 31 / Green: 25 / Blue: 27

HSL

340°, 11%, 11%

Hue: 340° / Saturation: 11% / Lightness: 11%

CMYK

0%, 19%, 13%, 88%

Cyan: 0% / Magenta: 19% / Yellow: 13% / Key: 88%

What color is #1F191B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #1F191B to RGB:

rgb(31, 25, 27)HEX to RGB Converter →

HEX to HSL

Convert #1F191B to HSL:

hsl(340, 11%, 11%)RGB to HSL Converter →

HEX to CMYK

Convert #1F191B to CMYK:

cmyk(0%, 19%, 13%, 88%)Color Converter →

Color Meaning and Usage

A dark magenta tone, #1F191B has RGB (31, 25, 27) and HSL (340°, 11%, 11%). Known for evoking sophistication and elegance, this very dark shade is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #1F191B is #191F1D, creating high-contrast pairings. For softer combinations, try analogous colors like #1F191E.

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

Contrast with #1F191B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #1F191B?

#1F191B is a dark magenta color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #1F191B?

#1F191B in RGB is (31, 25, 27) - 31 red, 25 green, and 27 blue.

How to use #1F191B in CSS?

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

What colors go well with #1F191B?

#191F1D (complementary), #1F191E (analogous), and #000000 (lighter shade) work well with #1F191B.