#332236 color
The hex color #332236 is a very dark, grayish magenta.
In the RGB color model it is made of 20% red, 13.3% green and 21.2% blue (51, 34, 54).
Its hue angle is 291°, with 23% saturation and 17% lightness. For print, the CMYK equivalent is 6% cyan, 37% magenta, 0% yellow and 79% black.
The closest named color is Dark Purple (#301934), a difference of 3.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.76:1).
#332236 color codes
| HEX | #332236 | |
|---|---|---|
| RGB | rgb(51, 34, 54) | |
| RGB percent | rgb(20%, 13.3%, 21.2%) | |
| HSL | hsl(291, 23%, 17%) | |
| HSV / HSB | hsv(291, 37%, 21%) | |
| CMYK | cmyk(6%, 37%, 0%, 79%) | |
| CIE LAB | lab(16.08, 12.45, -9.83) | |
| CIE LCH | lch(16.08, 15.86, 321.73) | |
| CIE XYZ | xyz(2.603, 2.114, 3.76) | |
| Decimal | 3351094 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #332236, 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 #332236 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.42:1 | Fail | Fail | Fail |
| Sample text | 14.76:1 | Pass | Pass | Pass |
| #332236 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.76:1 | Pass | Pass | Pass |
| Sample text | 1.42: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 #332236 looks to people with the most common types of color vision deficiency.
#202737Protanopia
no red cones#242935Deuteranopia
no green cones#342429Tritanopia
no blue cones#282828Achromatopsia
no color vision
CSS examples
.background { background-color: #332236; }
.text { color: #332236; }
.border { border: 2px solid #332236; }
.transparent { background-color: rgb(51 34 54 / 50%); }
.gradient { background: linear-gradient(to right, #332236, #36222f); }
Similar colors
#301934Dark Purple#443240Voodoo#3c2f4eSanctum of Shadows#403547Royal Decree#2a2243Midnight Velvet#2c1620Black Cherry#342931Melanzane#42364cCall It a Night
Questions
- What color is #332236?
- #332236 is a very dark, grayish magenta, closest to the named color Dark Purple. It belongs to the purple family of colors.
- What is the RGB value of #332236?
- The RGB value is 51, 34, 54: 51 red, 34 green and 54 blue on a 0 to 255 scale.
- What is the complementary color of #332236?
- The complementary color is #253622, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #332236?
- White text. Black text has a contrast ratio of 1.42:1 and white text 14.76:1. WCAG asks for at least 4.5:1 for normal text.