#331133 color

#331133 is rgb(51, 17, 51) in RGB and hsl(300, 50%, 13%) in HSL. The closest CSS named color is midnightblue (#191970, ΔE 16.3). Use white text on it (contrast 16.55:1).

#331133magenta
HEX#331133
Short HEX#313
RGBrgb(51, 17, 51)
RGB percentrgb(20%, 6.7%, 20%)
HSLhsl(300, 50%, 13%)
HSV / HSBhsv(300, 67%, 20%)
CMYKcmyk(0%, 67%, 0%, 80%)

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

About #331133

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

Color conversions

HEX#331133
Short HEX#313
RGBrgb(51, 17, 51)
RGB percentrgb(20%, 6.7%, 20%)
HSLhsl(300, 50%, 13%)
HSV / HSBhsv(300, 67%, 20%)
CMYKcmyk(0%, 67%, 0%, 80%)
CIELAB (D65)lab(11.6 22.8 -14.7)
Decimal3346739
Binary00110011 00010001 00110011

HEX 33 11 33 → 51, 17, 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 #331133

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #331133RatioAA normalAA largeAAA normalAAA large
White text16.55:1PassPassPassPass
Black text1.27:1FailFailFailFail
White text on #331133
Black text on #331133
#331133 text on white
#331133 text on black

Relative luminance is 0.0134 (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
#0d1c34

Deuteranopia
#192032

Tritanopia
#351520

Achromatopsia
#1f1f1f

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 16.1). 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
midnightblue#19197016.3
indigo#4b008216.8
purple#80008018.4
navy#00008019

Nearby colors

CSS

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

Frequently asked questions

What color is #331133?
A dark saturated magenta in the pink & magenta family. Closest CSS name: midnightblue.
What is #331133 in RGB?
rgb(51, 17, 51): red 51, green 17, blue 51.
What is the complementary color of #331133?
#113311, found by rotating the hue 180°.