313331

#313331 Oil

#313331 is a dark gray named Oil. In the RGB color model it is made of 19.2% red, 20.0% green and 19.2% blue (rgb(49, 51, 49)). Its HSL value is 120° hue, 2% saturation and 20% lightness, and in CMYK it is 4% cyan, 0% magenta, 4% yellow and 80% black. #313331 is a neutral color. White text reads best on it, with a contrast ratio of 12.74:1.

#313331 color conversion

HEX
RGB
HSL
HSB / HSV
HWB
CMYK
XYZ
CIELAB
CIELCh
CIELUV
OKLCH

Variations of #313331

Shades

Mixed with black: richer and darker.

Tints

Mixed with white: lighter and softer.

Tones

Mixed with gray: calmer and more muted.

Hues

The same lightness and chroma, rotated around the color wheel.

Temperatures

Cooler on the left, warmer on the right.

#313331 color harmonies

Complementary

The opposite hue — maximum contrast and energy.

Open in generator →

Split complementary

The two hues next to the complement — contrast with less tension.

Open in generator →

Analogous

Neighbouring hues — calm, cohesive and natural.

Open in generator →

Triadic

Three hues evenly spaced at 120° — vibrant yet balanced.

Open in generator →

Tetradic

Two complementary pairs — rich, best with one dominant color.

Open in generator →

Square

Four hues spaced at 90° — bold and playful.

Open in generator →

#313331 for color-blind viewers (and dogs)

How #313331 appears with each type of color vision deficiency (Machado 2009 model) — and to your dog. Try the dog vision simulator →

  • Dog vision 99% similarHow dogs see it · simulated as #333231
  • Protanopia 99% similar1.3% of men, 0.02% of women · simulated as #333331
  • Protanomaly 99% similar1.3% of men, 0.02% of women · simulated as #333331
  • Deuteranopia 99% similar1.2% of men, 0.01% of women · simulated as #333231
  • Deuteranomaly 100% similar5% of men, 0.35% of women · simulated as #323331
  • Tritanopia 100% similar0.001% of men, 0.03% of women · simulated as #313332
  • Tritanomaly 100% similar0.0001% of men, 0.0001% of women · simulated as #313332
  • Achromatopsia 99% similar0.003% of men, 0.003% of women · simulated as #323232
  • Achromatomaly 99% similar0.001% of men, 0.001% of women · simulated as #323332

#313331 contrast checker

AaThe quick brown fox jumps over the lazy dog.
12.74:1 Super#313331 text on white
AA normalPassAAA normalPass
AA largePassAAA largePass
AaThe quick brown fox jumps over the lazy dog.
1.65:1 Very poor#313331 text on black
AA normalFailAAA normalFail
AA largeFailAAA largeFail

Need another background? Pick any pair in the palette generator and open the contrast panel.

Colors similar to #313331

Palettes with #313331

#313331 in CSS

/* Oil */
.color { color: #313331; }
.background { background-color: #313331; }
.border { border: 1px solid #313331; }

/* Other notations */
color: rgb(49 51 49);
color: hsl(120 2% 20%);
color: oklch(0.318 0.004 145.5);

#313331 FAQ

What color is #313331?

#313331 is a dark gray. Its closest named color is Oil. It belongs to the gray color family and is a neutral color.

What is the RGB value of #313331?

#313331 is rgb(49, 51, 49) in RGB, hsl(120, 2%, 20%) in HSL and cmyk(4%, 0%, 4%, 80%) in CMYK.

What is the complementary color of #313331?

The complementary color of #313331 is #333133, which sits opposite it on the color wheel.

Which text color works on #313331?

White text has the best contrast on #313331: 12.74:1, which meets the WCAG AA requirement of 4.5:1 for normal text.

Is #313331 a warm or cool color?

#313331 is a neutral color.