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

#0B0312 Hex Color

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

 
#0b0312
Hex color #0b0312 graphic
#0b0312 is an almost-black shade with subtle purple undertones and very low lightness, giving layouts a somber, secretive edge. It works as a dominant background in luxury branding, editorial layouts, and dark interfaces. White text reaches about 20.3:1 contrast here. Restrained highlights keep large areas from feeling muddy. The hex code is #0b0312.

Color Conversions

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

  • Hex#0b0312
  • RGBrgb(11, 3, 18)
  • RGB Percentagesrgb(4%, 1%, 7%)
  • CMYK39%, 83%, 0%, 93%
  • HSLhsl(272, 71%, 4%)
  • HSVhsv(272, 83%, 7%)
  • OKLCHoklch(12.6% 0.040 309.5)
  • LCH2, 7, 308
  • LAB2, 4, -6
  • LUV2, 1, -3
  • XYZ0, 0, 1
  • Closest Tailwind Colormauve-950

Color Variations

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

Brighten

Tints of the color as they brighten toward white.

#0b0312
#1e1425
#332a3a
#494150
#605967
#79727e
#928d97
#aca8b0
#c7c4ca
#e3e1e4

Darken

Shades of the color as they darken toward black.

#0b0312
#08020e
#06020a
#040107
#020104
#010002
#010001
#000001
#000000
#000000

Desaturate

Desaturated versions of this color.

#0b0312
#150b1c
#1f1726
#2a2230
#352f3b
#413b46
#4d4851
#59565d
#666368
#737274

Hue

Various hues of this color.

#120603
#120306
#12030c
#110312
#0b0312
#050312
#030712
#030e12
#031210

Analogous

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

#0b0312
#050312
#080312

Monochromatic

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

#0b0312
#250a3c
#3f1167
#591891
#731fbc
#8d26e6

Complementary

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

#0b0312
#0a1203

Split Complement

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

#0b0312
#120307
#031205

Triad

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

#0b0312
#120b03
#03120b

Tetrad

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

#0b0312
#120303
#0a1203
#031112

Contrast Checker

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

Normal Vision
#0b0312
Protanopia
#040412
Red-blind (~1% of males)
Deuteranopia
#060612
Green-blind (~1% of males)
Tritanopia
#090505
Blue-blind (very rare)
Achromatopsia
#060606
Total color blindness

Questions about #0b0312

What is #0b0312 in RGB, HSL and CMYK?
In RGB, #0b0312 is rgb(11, 3, 18), in HSL hsl(272, 71%, 4%) and in CMYK 39%, 83%, 0%, 93%. Browse more shades of black with names and hex codes.
What colors pair well with #0b0312?
The #0b0312 hex color pairs well with white, pale lavender, muted gold, and mauve, which reveal its purple undertone without competing with its deep base; reserve brighter accents for buttons, links, or small highlights.
Does #0b0312 look warm or cool?
The #0b0312 hex color reads cool because its near-black base carries a subtle purple bias, although its extreme darkness softens that undertone in most interface contexts beside pale surfaces and light neutrals. It feels somber and private rather than bright or energetic.
Is #0b0312 readable on white or black?
#0b0312 has a 20.27:1 contrast ratio on white and 1.03: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.