#3300CC color

#3300CC is rgb(51, 0, 204) in RGB and hsl(255, 100%, 40%) in HSL. The closest CSS named color is mediumblue (#0000cd, ΔE 2.1). Use white text on it (contrast 10.43:1).

#3300CCviolet
HEX#3300CC
Short HEX#30C
RGBrgb(51, 0, 204)
RGB percentrgb(20%, 0%, 80%)
HSLhsl(255, 100%, 40%)
HSV / HSBhsv(255, 100%, 80%)
CMYKcmyk(75%, 100%, 0%, 20%)

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

About #3300CC

#3300CC is a medium-dark, vivid violet with a hue angle of 255°. It belongs to the purple family and reads as a cool color. In the RGB model blue is the strongest channel at 204 (80%) and green the weakest at 0 (0%). Colors like this are typically used for buttons, links, badges and other accents that need to stand out.

Color conversions

HEX#3300CC
Short HEX#30C
RGBrgb(51, 0, 204)
RGB percentrgb(20%, 0%, 80%)
HSLhsl(255, 100%, 40%)
HSV / HSBhsv(255, 100%, 80%)
CMYKcmyk(75%, 100%, 0%, 20%)
CIELAB (D65)lab(26.9 67.7 -87.6)
Decimal3342540
Binary00110011 00000000 11001100

HEX 33 00 CC → 51, 0, 204 (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 #3300CC

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #3300CCRatioAA normalAA largeAAA normalAAA large
White text10.43:1PassPassPassPass
Black text2.01:1FailFailFailFail
White text on #3300CC
Black text on #3300CC
#3300CC text on white
#3300CC text on black

Relative luminance is 0.0506 (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
#0047d1

Deuteranopia
#0037c9

Tritanopia
#005377

Achromatopsia
#404040

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 8.4). 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
mediumblue#0000cd2.1
blue#0000ff5.8
darkblue#00008b9.7
indigo#4b008210.3

Nearby colors

CSS

.element {
  color: #3300cc;
  background-color: rgb(51, 0, 204);
  border: 1px solid hsl(255, 100%, 40%);
  box-shadow: 0 2px 8px rgb(51 0 204 / 50%);
}
:root { --brand: #3300cc; }

Frequently asked questions

What color is #3300CC?
A medium-dark vivid violet in the purple family. Closest CSS name: mediumblue.
What is #3300CC in RGB?
rgb(51, 0, 204): red 51, green 0, blue 204.
What is the complementary color of #3300CC?
#99CC00, found by rotating the hue 180°.