#332B3F color

#332B3F rgb(51, 43, 63)
Shades of purple

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
RGBrgb(51, 43, 63)
RGB percentrgb(20%, 16.9%, 24.7%)
HSLhsl(264, 19%, 21%)
HSV / HSBhsv(264, 32%, 25%)
CMYKcmyk(19%, 32%, 0%, 75%)
CIE LABlab(19.18, 8.54, -11.32)
CIE LCHlch(19.18, 14.18, 307.05)
CIE XYZxyz(3.126, 2.79, 5.076)
Decimal3353407
Short hexNone (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 #332B3FRatioAAAAAAA large
Sample text1.56:1FailFailFail
Sample text13.48:1PassPassPass
#332B3F as text onRatioAAAAAAA large
Sample text13.48:1PassPassPass
Sample text1.56: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 #332B3F looks to people with the most common types of color vision deficiency.

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

Similar colors

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.