#330033 color

#330033 is rgb(51, 0, 51) in RGB and hsl(300, 100%, 10%) in HSL. The closest CSS named color is indigo (#4b0082, ΔE 15). Use white text on it (contrast 17.67:1).

#330033magenta
HEX#330033
Short HEX#303
RGBrgb(51, 0, 51)
RGB percentrgb(20%, 0%, 20%)
HSLhsl(300, 100%, 10%)
HSV / HSBhsv(300, 100%, 20%)
CMYKcmyk(0%, 100%, 0%, 80%)

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

About #330033

#330033 is a very dark, vivid 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 0 (0%). Colors like this are typically used for dark backgrounds, text, footers and dark-mode surfaces.

Color conversions

HEX#330033
Short HEX#303
RGBrgb(51, 0, 51)
RGB percentrgb(20%, 0%, 20%)
HSLhsl(300, 100%, 10%)
HSV / HSBhsv(300, 100%, 20%)
CMYKcmyk(0%, 100%, 0%, 80%)
CIELAB (D65)lab(8.5 31.5 -19.5)
Decimal3342387
Binary00110011 00000000 00110011

HEX 33 00 33 → 51, 0, 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 #330033

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #330033RatioAA normalAA largeAAA normalAAA large
White text17.67:1PassPassPassPass
Black text1.19:1FailFailFailFail
White text on #330033
Black text on #330033
#330033 text on white
#330033 text on black

Relative luminance is 0.0094 (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
#001434

Deuteranopia
#0f1b32

Tritanopia
#35081a

Achromatopsia
#191919

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 18). 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#4b008215
midnightblue#19197015.7
navy#00008017.2
purple#80008017.4

Nearby colors

CSS

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

Frequently asked questions

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