#332B47 color
The hex color #332B47 is a dark, grayish violet.
In the RGB color model it is made of 20% red, 16.9% green and 27.8% blue (51, 43, 71).
Its hue angle is 257°, with 25% saturation and 22% lightness. For print, the CMYK equivalent is 28% cyan, 39% magenta, 0% yellow and 72% black.
The closest named color is Sanctum of Shadows (#3C2F4E), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.31:1).
#332B47 color codes
| HEX | #332B47 | |
|---|---|---|
| RGB | rgb(51, 43, 71) | |
| RGB percent | rgb(20%, 16.9%, 27.8%) | |
| HSL | hsl(257, 25%, 22%) | |
| HSV / HSB | hsv(257, 39%, 28%) | |
| CMYK | cmyk(28%, 39%, 0%, 72%) | |
| CIE LAB | lab(19.58, 10.82, -16.17) | |
| CIE LCH | lch(19.58, 19.46, 303.8) | |
| CIE XYZ | xyz(3.366, 2.886, 6.34) | |
| Decimal | 3353415 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #332B47, 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 #332B47 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.58:1 | Fail | Fail | Fail |
| Sample text | 13.31:1 | Pass | Pass | Pass |
| #332B47 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.31:1 | Pass | Pass | Pass |
| Sample text | 1.58: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 #332B47 looks to people with the most common types of color vision deficiency.
#243048Protanopia
no red cones#252f46Deuteranopia
no green cones#2f3035Tritanopia
no blue cones#2f2f2fAchromatopsia
no color vision
CSS examples
.background { background-color: #332b47; }
.text { color: #332b47; }
.border { border: 2px solid #332b47; }
.transparent { background-color: rgb(51 43 71 / 50%); }
.gradient { background: linear-gradient(to right, #332b47, #412b47); }
Similar colors
#3c2f4eSanctum of Shadows#372d52Midnight Pie#2a2243Midnight Velvet#3f354fMaharaja#2c2e47Midnight Masquerade#42364cCall It a Night#322c56Purple Noir#222244Black Market
Closest common color name: Dark Purple.
Questions
- What color is #332B47?
- #332B47 is a dark, grayish violet, closest to the named color Sanctum of Shadows. It belongs to the purple family of colors.
- What is the RGB value of #332B47?
- The RGB value is 51, 43, 71: 51 red, 43 green and 71 blue on a 0 to 255 scale.
- What is the complementary color of #332B47?
- The complementary color is #3F472B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #332B47?
- White text. Black text has a contrast ratio of 1.58:1 and white text 13.31:1. WCAG asks for at least 4.5:1 for normal text.