#330066 color

#330066 is rgb(51, 0, 102) in RGB and hsl(270, 100%, 20%) in HSL. The closest CSS named color is indigo (#4b0082, ΔE 5.4). Use white text on it (contrast 15.76:1).

#330066purple
HEX#330066
Short HEX#306
RGBrgb(51, 0, 102)
RGB percentrgb(20%, 0%, 40%)
HSLhsl(270, 100%, 20%)
HSV / HSBhsv(270, 100%, 40%)
CMYKcmyk(50%, 100%, 0%, 60%)

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

About #330066

#330066 is a dark, vivid purple with a hue angle of 270°. It belongs to the purple family and reads as a balanced color. In the RGB model blue is the strongest channel at 102 (40%) and green the weakest at 0 (0%). Colors like this are typically used for headers, navigation bars and strong brand areas.

Color conversions

HEX#330066
Short HEX#306
RGBrgb(51, 0, 102)
RGB percentrgb(20%, 0%, 40%)
HSLhsl(270, 100%, 20%)
HSV / HSBhsv(270, 100%, 40%)
CMYKcmyk(50%, 100%, 0%, 60%)
CIELAB (D65)lab(13.6 42.8 -46.6)
Decimal3342438
Binary00110011 00000000 01100110

HEX 33 00 66 → 51, 0, 102 (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 #330066

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #330066RatioAA normalAA largeAAA normalAAA large
White text15.76:1PassPassPassPass
Black text1.33:1FailFailFailFail
White text on #330066
Black text on #330066
#330066 text on white
#330066 text on black

Relative luminance is 0.0166 (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
#002368

Deuteranopia
#002164

Tritanopia
#242339

Achromatopsia
#232323

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 11.5). 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#4b00825.4
navy#0000806.5
midnightblue#1919706.8
darkblue#00008b7.4

Nearby colors

CSS

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

Frequently asked questions

What color is #330066?
A dark vivid purple in the purple family. Closest CSS name: indigo.
What is #330066 in RGB?
rgb(51, 0, 102): red 51, green 0, blue 102.
What is the complementary color of #330066?
#336600, found by rotating the hue 180°.