#330022 color

#330022 is rgb(51, 0, 34) in RGB and hsl(320, 100%, 10%) in HSL. The closest CSS named color is indigo (#4b0082, ΔE 20). Use white text on it (contrast 18.04:1).

#330022pink
HEX#330022
Short HEX#302
RGBrgb(51, 0, 34)
RGB percentrgb(20%, 0%, 13.3%)
HSLhsl(320, 100%, 10%)
HSV / HSBhsv(320, 100%, 20%)
CMYKcmyk(0%, 100%, 33%, 80%)

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

About #330022

#330022 is a very dark, vivid pink with a hue angle of 320°. 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 0 (0%). Colors like this are typically used for dark backgrounds, text, footers and dark-mode surfaces.

Color conversions

HEX#330022
Short HEX#302
RGBrgb(51, 0, 34)
RGB percentrgb(20%, 0%, 13.3%)
HSLhsl(320, 100%, 10%)
HSV / HSBhsv(320, 100%, 20%)
CMYKcmyk(0%, 100%, 33%, 80%)
CIELAB (D65)lab(7.4 28.7 -8.5)
Decimal3342370
Binary00110011 00000000 00100010

HEX 33 00 22 → 51, 0, 34 (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 #330022

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #330022RatioAA normalAA largeAAA normalAAA large
White text18.04:1PassPassPassPass
Black text1.16:1FailFailFailFail
White text on #330022
Black text on #330022
#330022 text on white
#330022 text on black

Relative luminance is 0.0082 (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
#061023

Deuteranopia
#171a21

Tritanopia
#370010

Achromatopsia
#161616

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 20.9). 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
indigo#4b008220
purple#80008020.4
midnightblue#19197020.5
black#00000021.9

Nearby colors

CSS

.element {
  color: #330022;
  background-color: rgb(51, 0, 34);
  border: 1px solid hsl(320, 100%, 10%);
  box-shadow: 0 2px 8px rgb(51 0 34 / 50%);
}
:root { --brand: #330022; }

Frequently asked questions

What color is #330022?
A very dark vivid pink in the pink & magenta family. Closest CSS name: indigo.
What is #330022 in RGB?
rgb(51, 0, 34): red 51, green 0, blue 34.
What is the complementary color of #330022?
#003311, found by rotating the hue 180°.