#332233 color

#332233 is rgb(51, 34, 51) in RGB and hsl(300, 20%, 17%) in HSL. The closest CSS named color is black (#000000, ΔE 16.6). Use white text on it (contrast 14.82:1).

#332233magenta
HEX#332233
Short HEX#323
RGBrgb(51, 34, 51)
RGB percentrgb(20%, 13.3%, 20%)
HSLhsl(300, 20%, 17%)
HSV / HSBhsv(300, 33%, 20%)
CMYKcmyk(0%, 33%, 0%, 80%)

Edit in the color converter → · Check contrast → · Shades →

About #332233

#332233 is a dark, grayish magenta with a hue angle of 300°. It belongs to the pink & magenta family and reads as a warm color. In the RGB model red is the strongest channel at 51 (20%) and green the weakest at 34 (13%). Colors like this are typically used for dark backgrounds, text, footers and dark-mode surfaces.

Color conversions

HEX#332233
Short HEX#323
RGBrgb(51, 34, 51)
RGB percentrgb(20%, 13.3%, 20%)
HSLhsl(300, 20%, 17%)
HSV / HSBhsv(300, 33%, 20%)
CMYKcmyk(0%, 33%, 0%, 80%)
CIELAB (D65)lab(15.9 11.7 -7.9)
Decimal3351091
Binary00110011 00100010 00110011

HEX 33 22 33 → 51, 34, 51 (each pair is a base-16 number: 3×16 + 3 = 51)

Color harmonies

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 #332233

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #332233RatioAA normalAA largeAAA normalAAA large
White text14.82:1PassPassPassPass
Black text1.42:1FailFailFailFail
White text on #332233
Black text on #332233
#332233 text on white
#332233 text on black

Relative luminance is 0.0209 (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
#212634

Deuteranopia
#252832

Tritanopia
#342328

Achromatopsia
#282828

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 11.2). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
black#00000016.6
midnightblue#19197019.3
darkslateblue#483d8b20.1
indigo#4b008220.9

Nearby colors

CSS

.element {
  color: #332233;
  background-color: rgb(51, 34, 51);
  border: 1px solid hsl(300, 20%, 17%);
  box-shadow: 0 2px 8px rgb(51 34 51 / 50%);
}
:root { --brand: #332233; }

Frequently asked questions

What color is #332233?
A dark grayish magenta in the pink & magenta family. Closest CSS name: black.
What is #332233 in RGB?
rgb(51, 34, 51): red 51, green 34, blue 51.
What is the complementary color of #332233?
#223322, found by rotating the hue 180°.