#332836 color
The hex color #332836 is a very dark, grayish magenta.
In the RGB color model it is made of 20% red, 15.7% green and 21.2% blue (51, 40, 54).
Its hue angle is 287°, with 15% saturation and 18% lightness. For print, the CMYK equivalent is 6% cyan, 26% magenta, 0% yellow and 79% black.
The closest named color is Melanzane (#342931), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.02:1).
#332836 color codes
| HEX | #332836 | |
|---|---|---|
| RGB | rgb(51, 40, 54) | |
| RGB percent | rgb(20%, 15.7%, 21.2%) | |
| HSL | hsl(287, 15%, 18%) | |
| HSV / HSB | hsv(287, 26%, 21%) | |
| CMYK | cmyk(6%, 26%, 0%, 79%) | |
| CIE LAB | lab(17.86, 8.27, -7.1) | |
| CIE LCH | lch(17.86, 10.9, 319.35) | |
| CIE XYZ | xyz(2.79, 2.488, 3.823) | |
| Decimal | 3352630 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #332836, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #332836 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.5:1 | Fail | Fail | Fail |
| Sample text | 14.02:1 | Pass | Pass | Pass |
| #332836 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.02:1 | Pass | Pass | Pass |
| Sample text | 1.5:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #332836 looks to people with the most common types of color vision deficiency.
#262b37Protanopia
no red cones#292c36Deuteranopia
no green cones#33292dTritanopia
no blue cones#2c2c2cAchromatopsia
no color vision
CSS examples
.background { background-color: #332836; }
.text { color: #332836; }
.border { border: 2px solid #332836; }
.transparent { background-color: rgb(51 40 54 / 50%); }
.gradient { background: linear-gradient(to right, #332836, #362832); }
Similar colors
#342931Melanzane#403547Royal Decree#443240Voodoo#352b30Mystical Shadow#2c2a35Haiti#34282cSmoky Charcoal#393540Professor Plum#42364cCall It a Night
Closest common color name: Dark Purple.
Questions
- What color is #332836?
- #332836 is a very dark, grayish magenta, closest to the named color Melanzane. It belongs to the black family of colors.
- What is the RGB value of #332836?
- The RGB value is 51, 40, 54: 51 red, 40 green and 54 blue on a 0 to 255 scale.
- What is the complementary color of #332836?
- The complementary color is #2B3628, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #332836?
- White text. Black text has a contrast ratio of 1.5:1 and white text 14.02:1. WCAG asks for at least 4.5:1 for normal text.