Black Friday 2026: design deals we check every day. See the deals →

#1F1821 Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

 
#1f1821
Hex color #1f1821 graphic
#1f1821 is a hex color. It can be described as dark, dim, gloomy, dull, shady, ashy, dusty, inky, almost grey, purple, purplish and violet. It is a near-black with a subtle purple tint. The hex code is #1f1821.

Color Conversions

Hex color #1f1821 converted to various formats including hex, rgb, hsl, and more.

  • Hex#1f1821
  • RGBrgb(31, 24, 33)
  • RGB Percentagesrgb(12%, 9%, 13%)
  • CMYK6%, 27%, 0%, 87%
  • HSLhsl(287, 16%, 11%)
  • HSVhsv(287, 27%, 13%)
  • OKLCHoklch(22.1% 0.020 318.6)
  • LCH9, 8, 319
  • LAB9, 6, -5
  • LUV9, 2, -4
  • XYZ1, 1, 2
  • Closest Tailwind Colormauve-900

Color Variations

Variations of this color including shaded, tints, and complementary colors.

Brighten

Tints of the color as they brighten toward white.

#1f1821
#322b34
#453f47
#5a545c
#706a71
#868287
#9d999e
#b5b2b5
#cdcbcd
#e6e5e6

Darken

Shades of the color as they darken toward black.

#1f1821
#19131b
#140f16
#0f0a10
#0a070b
#060406
#030203
#010101
#000000
#000000

Desaturate

Desaturated versions of this color.

#1f1821
#28212a
#312b32
#3a343b
#433f45
#4d494e
#575358
#615e62
#6b696c
#757576

Hue

Various hues of this color.

#211c18
#211818
#21181b
#21181f
#1f1821
#1b1821
#181821
#181c21
#182021

Analogous

Analogous color palette of this color, meaning colors that are next to each other on the color wheel.

#1f1821
#1b1821
#1d1821

Monochromatic

Monochromatic colors for this color, monochromatic colors are all of the same hue.

#1f1821
#47374b
#6f5676
#9775a0
#bf94cb
#e7b3f5

Complementary

Complementary colors for this color, complementary colors are opposites on the color wheel.

#1f1821
#1a2118

Split Complement

Split-complementary colors which use adjacent colors of this color’s complementary color.

#1f1821
#211818
#18211b

Triad

Triad colors which pull themselves in a triangle across the color wheel.

#1f1821
#211f18
#18211f

Tetrad

Tetrad colors which pull themselves in a square shape across the color wheel.

#1f1821
#211a18
#1a2118
#181e21

Contrast Checker

Contrast test results for the color #1f1821 on black and white backgrounds.
Open in contrast checker →

White Background

Passes AAA
Example Headline (24px)

The font-size of this text is 18.5px. Click anywhere to edit this text. Lorem Ipsum is simply dummy text of the printing and typesetting industry.

Black Background

Fails WCAG
Example Headline (24px)

The font-size of this text is 18.5px. Click anywhere to edit this text. Lorem Ipsum is simply dummy text of the printing and typesetting industry.

Color Blindness Simulation

See how #1f1821 appears to people with color vision deficiency (CVD).

Normal Vision
#1f1821
Protanopia
#191921
Red-blind (~1% of males)
Deuteranopia
#1a1a21
Green-blind (~1% of males)
Tritanopia
#1e1919
Blue-blind (very rare)
Achromatopsia
#1a1a1a
Total color blindness

Questions about #1f1821

What is #1f1821 in RGB, HSL and CMYK?
In RGB, #1f1821 is rgb(31, 24, 33), in HSL hsl(287, 16%, 11%) and in CMYK 6%, 27%, 0%, 87%. Browse more shades of black with names and hex codes.
Is #1f1821 readable on white or black?
#1f1821 has a 17.34:1 contrast ratio on white and 1.21:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it is too faint for text. Try other pairs in the contrast checker.