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.
- It can be written in 3-digit shorthand as
#313.
Color conversions
| HEX | #331133 |
|---|---|
| Short HEX | #313 |
| RGB | rgb(51, 17, 51) |
| RGB percent | rgb(20%, 6.7%, 20%) |
| HSL | hsl(300, 50%, 13%) |
| HSV / HSB | hsv(300, 67%, 20%) |
| CMYK | cmyk(0%, 67%, 0%, 80%) |
| CIELAB (D65) | lab(11.6 22.8 -14.7) |
| Decimal | 3346739 |
| Binary | 00110011 00010001 00110011 |
HEX 33 11 33 → 51, 17, 51 (each pair is a base-16 number: 3×16 + 3 = 51)
Color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
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 #331133 | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 16.55:1 | Pass | Pass | Pass | Pass |
| Black text | 1.27:1 | Fail | Fail | Fail | Fail |
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
| Name | HEX | ΔE 2000 |
|---|---|---|
| midnightblue | #191970 | 16.3 |
| indigo | #4b0082 | 16.8 |
| purple | #800080 | 18.4 |
| navy | #000080 | 19 |
Nearby colors
#441133less red
#221133more green
#332233less green
#330033more blue
#331144less blue
#331122lighter
#442244darker
#220022
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; }