#323331 color
The hex color #323331 is a dark gray.
In the RGB color model it is made of 19.6% red, 20% green and 19.2% blue (50, 51, 49).
Its hue angle is 90°, with 2% saturation and 20% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 4% yellow and 80% black.
The closest named color is Oil (#313330), a difference of 1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.7:1).
#323331 color codes
| HEX | #323331 | |
|---|---|---|
| RGB | rgb(50, 51, 49) | |
| RGB percent | rgb(19.6%, 20%, 19.2%) | |
| HSL | hsl(90, 2%, 20%) | |
| HSV / HSB | hsv(90, 4%, 20%) | |
| CMYK | cmyk(2%, 0%, 4%, 80%) | |
| CIE LAB | lab(21.08, -0.9, 1.11) | |
| CIE LCH | lch(21.08, 1.43, 128.93) | |
| CIE XYZ | xyz(3.054, 3.268, 3.375) | |
| Decimal | 3289905 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #323331, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #323331 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.65:1 | Fail | Fail | Fail |
| Sample text | 12.7:1 | Pass | Pass | Pass |
| #323331 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.7:1 | Pass | Pass | Pass |
| Sample text | 1.65:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #323331 looks to people with the most common types of color vision deficiency.
#333331Protanopia
no red cones#333331Deuteranopia
no green cones#323332Tritanopia
no blue cones#333333Achromatopsia
no color vision
CSS examples
.background { background-color: #323331; }
.text { color: #323331; }
.border { border: 2px solid #323331; }
.transparent { background-color: rgb(50 51 49 / 50%); }
.gradient { background: linear-gradient(to right, #323331, #313331); }
Similar colors
#313330Oil#333333Carbon#343434Jet Black#333232Dark Charcoal#353838Wet Concrete#2e2e2eCarbon Fibre#383838Graphite#383838Lacquered Liquorice
Questions
- What color is #323331?
- #323331 is a dark gray, closest to the named color Oil. It belongs to the gray family of colors.
- What is the RGB value of #323331?
- The RGB value is 50, 51, 49: 50 red, 51 green and 49 blue on a 0 to 255 scale.
- What is the complementary color of #323331?
- The complementary color is #323133, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #323331?
- White text. Black text has a contrast ratio of 1.65:1 and white text 12.7:1. WCAG asks for at least 4.5:1 for normal text.