#332839 color
The hex color #332839 is a very dark, grayish violet.
In the RGB color model it is made of 20% red, 15.7% green and 22.4% blue (51, 40, 57).
Its hue angle is 279°, with 18% saturation and 19% lightness. For print, the CMYK equivalent is 11% cyan, 30% magenta, 0% yellow and 78% black.
The closest named color is Royal Decree (#403547), a difference of 4.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.97:1).
#332839 color codes
| HEX | #332839 | |
|---|---|---|
| RGB | rgb(51, 40, 57) | |
| RGB percent | rgb(20%, 15.7%, 22.4%) | |
| HSL | hsl(279, 18%, 19%) | |
| HSV / HSB | hsv(279, 30%, 22%) | |
| CMYK | cmyk(11%, 30%, 0%, 78%) | |
| CIE LAB | lab(17.99, 9.03, -8.99) | |
| CIE LCH | lch(17.99, 12.75, 315.13) | |
| CIE XYZ | xyz(2.862, 2.517, 4.205) | |
| Decimal | 3352633 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #332839, 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 #332839 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.5:1 | Fail | Fail | Fail |
| Sample text | 13.97:1 | Pass | Pass | Pass |
| #332839 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.97: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 #332839 looks to people with the most common types of color vision deficiency.
#262b3aProtanopia
no red cones#282c38Deuteranopia
no green cones#332a2eTritanopia
no blue cones#2c2c2cAchromatopsia
no color vision
CSS examples
.background { background-color: #332839; }
.text { color: #332839; }
.border { border: 2px solid #332839; }
.transparent { background-color: rgb(51 40 57 / 50%); }
.gradient { background: linear-gradient(to right, #332839, #392837); }
Similar colors
#403547Royal Decree#342931Melanzane#443240Voodoo#42364cCall It a Night#3f354fMaharaja#2c2a35Haiti#222233Black Velvet#393540Professor Plum
Closest common color name: Dark Purple.
Questions
- What color is #332839?
- #332839 is a very dark, grayish violet, closest to the named color Royal Decree. It belongs to the gray family of colors.
- What is the RGB value of #332839?
- The RGB value is 51, 40, 57: 51 red, 40 green and 57 blue on a 0 to 255 scale.
- What is the complementary color of #332839?
- The complementary color is #2E3928, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #332839?
- White text. Black text has a contrast ratio of 1.5:1 and white text 13.97:1. WCAG asks for at least 4.5:1 for normal text.