#332B47 color

#332B47 rgb(51, 43, 71)
Shades of purple

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
RGBrgb(51, 43, 71)
RGB percentrgb(20%, 16.9%, 27.8%)
HSLhsl(257, 25%, 22%)
HSV / HSBhsv(257, 39%, 28%)
CMYKcmyk(28%, 39%, 0%, 72%)
CIE LABlab(19.58, 10.82, -16.17)
CIE LCHlch(19.58, 19.46, 303.8)
CIE XYZxyz(3.366, 2.886, 6.34)
Decimal3353415
Short hexNone (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 #332B47RatioAAAAAAA large
Sample text1.58:1FailFailFail
Sample text13.31:1PassPassPass
#332B47 as text onRatioAAAAAAA large
Sample text13.31:1PassPassPass
Sample text1.58:1FailFailFail

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.

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); }
Background
Text color
Border

Similar colors

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.