#332E4A color
The hex color #332E4A is a dark, grayish violet.
In the RGB color model it is made of 20% red, 18% green and 29% blue (51, 46, 74).
Its hue angle is 251°, with 23% saturation and 24% lightness. For print, the CMYK equivalent is 31% cyan, 38% magenta, 0% yellow and 71% black.
The closest named color is Sanctum of Shadows (#3C2F4E), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.88:1).
#332E4A color codes
| HEX | #332E4A | |
|---|---|---|
| RGB | rgb(51, 46, 74) | |
| RGB percent | rgb(20%, 18%, 29%) | |
| HSL | hsl(251, 23%, 24%) | |
| HSV / HSB | hsv(251, 38%, 29%) | |
| CMYK | cmyk(31%, 38%, 0%, 71%) | |
| CIE LAB | lab(20.64, 9.63, -16.55) | |
| CIE LCH | lch(20.64, 19.14, 300.19) | |
| CIE XYZ | xyz(3.578, 3.152, 6.897) | |
| Decimal | 3354186 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #332E4A, 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 #332E4A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.63:1 | Fail | Fail | Fail |
| Sample text | 12.88:1 | Pass | Pass | Pass |
| #332E4A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.88:1 | Pass | Pass | Pass |
| Sample text | 1.63: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 #332E4A looks to people with the most common types of color vision deficiency.
#26324bProtanopia
no red cones#273149Deuteranopia
no green cones#2e3338Tritanopia
no blue cones#323232Achromatopsia
no color vision
CSS examples
.background { background-color: #332e4a; }
.text { color: #332e4a; }
.border { border: 2px solid #332e4a; }
.transparent { background-color: rgb(51 46 74 / 50%); }
.gradient { background: linear-gradient(to right, #332e4a, #412e4a); }
Similar colors
#3c2f4eSanctum of Shadows#2c2e47Midnight Masquerade#3f354fMaharaja#372d52Midnight Pie#2a2243Midnight Velvet#322c56Purple Noir#42364cCall It a Night#222244Black Market
Closest common color name: Dark Purple.
Questions
- What color is #332E4A?
- #332E4A is a dark, grayish violet, closest to the named color Sanctum of Shadows. It belongs to the blue family of colors.
- What is the RGB value of #332E4A?
- The RGB value is 51, 46, 74: 51 red, 46 green and 74 blue on a 0 to 255 scale.
- What is the complementary color of #332E4A?
- The complementary color is #454A2E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #332E4A?
- White text. Black text has a contrast ratio of 1.63:1 and white text 12.88:1. WCAG asks for at least 4.5:1 for normal text.