About #333333
#333333 is a dark, neutral gray. It belongs to the gray family and reads as a neutral color. All three channels are equal (51), so it is a pure gray at 20% brightness with no hue at all. Colors like this are typically used for borders, secondary text, dividers and neutral UI.
- It is one of the 216 web-safe colors: every channel is a multiple of 51 (hex 00, 33, 66, 99, CC, FF).
- It can be written in 3-digit shorthand as
#333.
Color conversions
| HEX | #333333 |
|---|---|
| Short HEX | #333 |
| RGB | rgb(51, 51, 51) |
| RGB percent | rgb(20%, 20%, 20%) |
| HSL | hsl(0, 0%, 20%) |
| HSV / HSB | hsv(0, 0%, 20%) |
| CMYK | cmyk(0%, 0%, 0%, 80%) |
| CIELAB (D65) | lab(21.2 0 0) |
| Decimal | 3355443 |
| Binary | 00110011 00110011 00110011 |
HEX 33 33 33 → 51, 51, 51 (each pair is a base-16 number: 3×16 + 3 = 51)
Color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.
Tints and shades of #333333
Tints (mixed with white)
Shades (mixed with black)
Tones (mixed with gray)
Contrast and accessibility
| Text on #333333 | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 12.63:1 | Pass | Pass | Pass | Pass |
| Black text | 1.66:1 | Fail | Fail | Fail | Fail |
Relative luminance is 0.0331 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.
Color blindness simulation
Protanopia#333333
Deuteranopia#333333
Tritanopia#333333
Achromatopsia#333333
People with red–green color blindness see this color almost unchanged (ΔE 0 for deuteranopia), so it is a safe choice where color carries meaning. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.
Similar named colors
| Name | HEX | ΔE 2000 |
|---|---|---|
| black | #000000 | 13.4 |
| darkslategray | #2f4f4f | 14.8 |
| dimgray | #696969 | 18.5 |
| darkslateblue | #483d8b | 24.9 |
Nearby colors
#443333less red
#223333more green
#334433less green
#332233more blue
#333344less blue
#333322lighter
#444444darker
#222222
CSS
.element {
color: #333333;
background-color: rgb(51, 51, 51);
border: 1px solid hsl(0, 0%, 20%);
box-shadow: 0 2px 8px rgb(51 51 51 / 50%);
}
:root { --brand: #333333; }