#332B3C color
The hex color #332B3C is a dark, grayish violet.
In the RGB color model it is made of 20% red, 16.9% green and 23.5% blue (51, 43, 60).
Its hue angle is 268°, with 17% saturation and 20% lightness. For print, the CMYK equivalent is 15% cyan, 28% magenta, 0% yellow and 76% black.
The closest named color is Royal Decree (#403547), a difference of 3.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.53:1).
#332B3C color codes
| HEX | #332B3C | |
|---|---|---|
| RGB | rgb(51, 43, 60) | |
| RGB percent | rgb(20%, 16.9%, 23.5%) | |
| HSL | hsl(268, 17%, 20%) | |
| HSV / HSB | hsv(268, 28%, 24%) | |
| CMYK | cmyk(15%, 28%, 0%, 76%) | |
| CIE LAB | lab(19.05, 7.73, -9.46) | |
| CIE LCH | lch(19.05, 12.22, 309.25) | |
| CIE XYZ | xyz(3.045, 2.758, 4.646) | |
| Decimal | 3353404 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #332B3C, 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 #332B3C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.55:1 | Fail | Fail | Fail |
| Sample text | 13.53:1 | Pass | Pass | Pass |
| #332B3C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.53:1 | Pass | Pass | Pass |
| Sample text | 1.55: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 #332B3C looks to people with the most common types of color vision deficiency.
#282e3dProtanopia
no red cones#292e3bDeuteranopia
no green cones#322d31Tritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #332b3c; }
.text { color: #332b3c; }
.border { border: 2px solid #332b3c; }
.transparent { background-color: rgb(51 43 60 / 50%); }
.gradient { background: linear-gradient(to right, #332b3c, #3c2b3c); }
Similar colors
#403547Royal Decree#333344Shuriken#2c2a35Haiti#42364cCall It a Night#342931Melanzane#393540Professor Plum#3f354fMaharaja#222233Black Velvet
Closest common color name: Dark Purple.
Questions
- What color is #332B3C?
- #332B3C is a dark, grayish violet, closest to the named color Royal Decree. It belongs to the gray family of colors.
- What is the RGB value of #332B3C?
- The RGB value is 51, 43, 60: 51 red, 43 green and 60 blue on a 0 to 255 scale.
- What is the complementary color of #332B3C?
- The complementary color is #343C2B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #332B3C?
- White text. Black text has a contrast ratio of 1.55:1 and white text 13.53:1. WCAG asks for at least 4.5:1 for normal text.