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

#020107 Hex Color

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

 
#020107
Hex color #020107 graphic
Nearly black with a faint cool violet cast, #020107 is a dark, ashy shade that feels serious, secretive, and controlled. The hex code suits dominant backgrounds in luxury, editorial, and dark-mode designs. White text has about 20.8:1 contrast against it, while large flat areas can look muddy without restrained accents.

Color Conversions

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

  • Hex#020107
  • RGBrgb(2, 1, 7)
  • RGB Percentagesrgb(1%, 0%, 3%)
  • CMYK71%, 86%, 0%, 97%
  • HSLhsl(250, 75%, 2%)
  • HSVhsv(250, 86%, 3%)
  • OKLCHoklch(8.2% 0.027 291.6)
  • LCH0, 2, 297
  • LAB0, 1, -2
  • LUV0, 0, -1
  • XYZ0, 0, 0
  • Closest Tailwind Colorblack

Color Variations

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

Brighten

Tints of the color as they brighten toward white.

#020107
#100e1a
#25242f
#3c3b46
#55545e
#6f6e76
#8a8990
#a6a5ab
#c3c2c6
#e0e0e2

Darken

Shades of the color as they darken toward black.

#020107
#010105
#010104
#010002
#000002
#000001
#000000
#000000
#000000
#000000

Desaturate

Desaturated versions of this color.

#020107
#080611
#13111c
#1f1d27
#2b2a33
#38373f
#46454b
#545358
#626265
#717172

Hue

Various hues of this color.

#070102
#070104
#070107
#040107
#020107
#010207
#010507
#010706
#010704

Analogous

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

#020107
#010207
#010107

Monochromatic

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

#020107
#0e0731
#1a0d5c
#261386
#3319b1
#3f1fdb

Complementary

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

#020107
#060701

Split Complement

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

#020107
#070105
#020701

Triad

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

#020107
#070201
#010702

Tetrad

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

#020107
#070103
#060701
#010705

Contrast Checker

Contrast test results for the color #020107 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 #020107 appears to people with color vision deficiency (CVD).

Normal Vision
#020107
Protanopia
#010107
Red-blind (~1% of males)
Deuteranopia
#010107
Green-blind (~1% of males)
Tritanopia
#010202
Blue-blind (very rare)
Achromatopsia
#020202
Total color blindness

Questions about #020107

What is #020107 in RGB, HSL and CMYK?
In RGB, #020107 is rgb(2, 1, 7), in HSL hsl(250, 75%, 2%) and in CMYK 71%, 86%, 0%, 97%. Browse more shades of black with names and hex codes.
What colors pair well with #020107 in a design palette?
Muted metallics, warm cream, burgundy, and desaturated mauve pair well with #020107 because they add contrast without breaking its formal, shadowy mood, while keeping the palette more refined than stark black and white. Use cream for readable type and burgundy for selective emphasis.
Is #020107 readable on white or black?
#020107 has a 20.79:1 contrast ratio on white and 1.00: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.