#332B3F color
The hex color #332B3F is a dark, grayish violet.
In the RGB color model it is made of 20% red, 16.9% green and 24.7% blue (51, 43, 63).
Its hue angle is 264°, with 19% saturation and 21% lightness. For print, the CMYK equivalent is 19% cyan, 32% magenta, 0% yellow and 75% 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.48:1).
#332B3F color codes
| HEX | #332B3F | |
|---|---|---|
| RGB | rgb(51, 43, 63) | |
| RGB percent | rgb(20%, 16.9%, 24.7%) | |
| HSL | hsl(264, 19%, 21%) | |
| HSV / HSB | hsv(264, 32%, 25%) | |
| CMYK | cmyk(19%, 32%, 0%, 75%) | |
| CIE LAB | lab(19.18, 8.54, -11.32) | |
| CIE LCH | lch(19.18, 14.18, 307.05) | |
| CIE XYZ | xyz(3.126, 2.79, 5.076) | |
| Decimal | 3353407 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #332B3F, 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 #332B3F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.56:1 | Fail | Fail | Fail |
| Sample text | 13.48:1 | Pass | Pass | Pass |
| #332B3F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.48:1 | Pass | Pass | Pass |
| Sample text | 1.56: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 #332B3F looks to people with the most common types of color vision deficiency.
#272e40Protanopia
no red cones#282f3eDeuteranopia
no green cones#312e32Tritanopia
no blue cones#2f2f2fAchromatopsia
no color vision
CSS examples
.background { background-color: #332b3f; }
.text { color: #332b3f; }
.border { border: 2px solid #332b3f; }
.transparent { background-color: rgb(51 43 63 / 50%); }
.gradient { background: linear-gradient(to right, #332b3f, #3d2b3f); }
Similar colors
#403547Royal Decree#3f354fMaharaja#42364cCall It a Night#2c2e47Midnight Masquerade#333344Shuriken#3c2f4eSanctum of Shadows#222233Black Velvet#2c2a35Haiti
Closest common color name: Dark Purple.
Questions
- What color is #332B3F?
- #332B3F is a dark, grayish violet, closest to the named color Royal Decree. It belongs to the purple family of colors.
- What is the RGB value of #332B3F?
- The RGB value is 51, 43, 63: 51 red, 43 green and 63 blue on a 0 to 255 scale.
- What is the complementary color of #332B3F?
- The complementary color is #373F2B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #332B3F?
- White text. Black text has a contrast ratio of 1.56:1 and white text 13.48:1. WCAG asks for at least 4.5:1 for normal text.