#332E4E color
The hex color #332E4E is a dark, desaturated blue.
In the RGB color model it is made of 20% red, 18% green and 30.6% blue (51, 46, 78).
Its hue angle is 249°, with 26% saturation and 24% lightness. For print, the CMYK equivalent is 35% cyan, 41% magenta, 0% yellow and 69% black.
The closest named color is Midnight Pie (#372D52), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.79:1).
#332E4E color codes
| HEX | #332E4E | |
|---|---|---|
| RGB | rgb(51, 46, 78) | |
| RGB percent | rgb(20%, 18%, 30.6%) | |
| HSL | hsl(249, 26%, 24%) | |
| HSV / HSB | hsv(249, 41%, 31%) | |
| CMYK | cmyk(35%, 41%, 0%, 69%) | |
| CIE LAB | lab(20.86, 10.85, -18.91) | |
| CIE LCH | lch(20.86, 21.8, 299.84) | |
| CIE XYZ | xyz(3.717, 3.208, 7.63) | |
| Decimal | 3354190 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #332E4E, 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 #332E4E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.64:1 | Fail | Fail | Fail |
| Sample text | 12.79:1 | Pass | Pass | Pass |
| #332E4E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.79:1 | Pass | Pass | Pass |
| Sample text | 1.64: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 #332E4E looks to people with the most common types of color vision deficiency.
#25334fProtanopia
no red cones#25314dDeuteranopia
no green cones#2d343aTritanopia
no blue cones#323232Achromatopsia
no color vision
CSS examples
.background { background-color: #332e4e; }
.text { color: #332e4e; }
.border { border: 2px solid #332e4e; }
.transparent { background-color: rgb(51 46 78 / 50%); }
.gradient { background: linear-gradient(to right, #332e4e, #432e4e); }
Similar colors
#372d52Midnight Pie#3c2f4eSanctum of Shadows#322c56Purple Noir#2a2243Midnight Velvet#3f354fMaharaja#2c2e47Midnight Masquerade#2c2c57Deep Sea Base#222244Black Market
Closest common color name: Dark Purple.
Questions
- What color is #332E4E?
- #332E4E is a dark, desaturated blue, closest to the named color Midnight Pie. It belongs to the blue family of colors.
- What is the RGB value of #332E4E?
- The RGB value is 51, 46, 78: 51 red, 46 green and 78 blue on a 0 to 255 scale.
- What is the complementary color of #332E4E?
- The complementary color is #494E2E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #332E4E?
- White text. Black text has a contrast ratio of 1.64:1 and white text 12.79:1. WCAG asks for at least 4.5:1 for normal text.