#332E3B color
The hex color #332E3B is a dark, grayish violet.
In the RGB color model it is made of 20% red, 18% green and 23.1% blue (51, 46, 59).
Its hue angle is 263°, with 12% saturation and 21% lightness. For print, the CMYK equivalent is 14% cyan, 22% magenta, 0% yellow and 77% black.
The closest named color is Haiti (#2C2A35), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.17:1).
#332E3B color codes
| HEX | #332E3B | |
|---|---|---|
| RGB | rgb(51, 46, 59) | |
| RGB percent | rgb(20%, 18%, 23.1%) | |
| HSL | hsl(263, 12%, 21%) | |
| HSV / HSB | hsv(263, 22%, 23%) | |
| CMYK | cmyk(14%, 22%, 0%, 77%) | |
| CIE LAB | lab(19.94, 5.39, -7.42) | |
| CIE LCH | lch(19.94, 9.17, 305.98) | |
| CIE XYZ | xyz(3.132, 2.974, 4.546) | |
| Decimal | 3354171 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #332E3B, 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 #332E3B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.59:1 | Fail | Fail | Fail |
| Sample text | 13.17:1 | Pass | Pass | Pass |
| #332E3B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.17:1 | Pass | Pass | Pass |
| Sample text | 1.59: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 #332E3B looks to people with the most common types of color vision deficiency.
#2c303cProtanopia
no red cones#2c303bDeuteranopia
no green cones#323032Tritanopia
no blue cones#303030Achromatopsia
no color vision
CSS examples
.background { background-color: #332e3b; }
.text { color: #332e3b; }
.border { border: 2px solid #332e3b; }
.transparent { background-color: rgb(51 46 59 / 50%); }
.gradient { background: linear-gradient(to right, #332e3b, #3a2e3b); }
Similar colors
#2c2a35Haiti#393540Professor Plum#35343fWitches Cauldron#333344Shuriken#342931Melanzane#403547Royal Decree#413d4bItalian Grape#352b30Mystical Shadow
Closest common color name: Jet Black.
Questions
- What color is #332E3B?
- #332E3B is a dark, grayish violet, closest to the named color Haiti. It belongs to the black family of colors.
- What is the RGB value of #332E3B?
- The RGB value is 51, 46, 59: 51 red, 46 green and 59 blue on a 0 to 255 scale.
- What is the complementary color of #332E3B?
- The complementary color is #363B2E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #332E3B?
- White text. Black text has a contrast ratio of 1.59:1 and white text 13.17:1. WCAG asks for at least 4.5:1 for normal text.