#331199 color

#331199 is rgb(51, 17, 153) in RGB and hsl(255, 80%, 33%) in HSL. The closest CSS named color is darkblue (#00008b, ΔE 4.8). Use white text on it (contrast 12.49:1).

#331199violet
HEX#331199
Short HEX#319
RGBrgb(51, 17, 153)
RGB percentrgb(20%, 6.7%, 60%)
HSLhsl(255, 80%, 33%)
HSV / HSBhsv(255, 89%, 60%)
CMYKcmyk(67%, 89%, 0%, 40%)

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

About #331199

#331199 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 153 (60%) and green the weakest at 17 (7%). Colors like this are typically used for headers, navigation bars and strong brand areas.

Color conversions

HEX#331199
Short HEX#319
RGBrgb(51, 17, 153)
RGB percentrgb(20%, 6.7%, 60%)
HSLhsl(255, 80%, 33%)
HSV / HSBhsv(255, 89%, 60%)
CMYKcmyk(67%, 89%, 0%, 40%)
CIELAB (D65)lab(21.6 50.6 -65.9)
Decimal3346841
Binary00110011 00010001 10011001

HEX 33 11 99 → 51, 17, 153 (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 #331199

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #331199RatioAA normalAA largeAAA normalAAA large
White text12.49:1PassPassPassPass
Black text1.68:1FailFailFailFail
White text on #331199
Black text on #331199
#331199 text on white
#331199 text on black

Relative luminance is 0.0340 (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
#00389c

Deuteranopia
#002f97

Tritanopia
#003f59

Achromatopsia
#343434

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 8.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
darkblue#00008b4.8
indigo#4b00825.5
navy#0000805.9
mediumblue#0000cd6.4

Nearby colors

CSS

.element {
  color: #331199;
  background-color: rgb(51, 17, 153);
  border: 1px solid hsl(255, 80%, 33%);
  box-shadow: 0 2px 8px rgb(51 17 153 / 50%);
}
:root { --brand: #331199; }

Frequently asked questions

What color is #331199?
A medium-dark vivid violet in the purple family. Closest CSS name: darkblue.
What is #331199 in RGB?
rgb(51, 17, 153): red 51, green 17, blue 153.
What is the complementary color of #331199?
#779911, found by rotating the hue 180°.