#331D35 color

#331D35 rgb(51, 29, 53)
Shades of purple

The hex color #331D35 is a very dark, desaturated magenta.

In the RGB color model it is made of 20% red, 11.4% green and 20.8% blue (51, 29, 53).

Its hue angle is 295°, with 29% saturation and 16% lightness. For print, the CMYK equivalent is 4% cyan, 45% magenta, 0% yellow and 79% black.

The closest named color is Dark Purple (#301934), a difference of 1.6 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 15.35:1).

#331D35 color codes

HEX#331D35
RGBrgb(51, 29, 53)
RGB percentrgb(20%, 11.4%, 20.8%)
HSLhsl(295, 29%, 16%)
HSV / HSBhsv(295, 45%, 21%)
CMYKcmyk(4%, 45%, 0%, 79%)
CIE LABlab(14.62, 15.65, -11.36)
CIE LCHlch(14.62, 19.34, 324.03)
CIE XYZxyz(2.447, 1.84, 3.594)
Decimal3349813
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #331D35, 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 #331D35RatioAAAAAAA large
Sample text1.37:1FailFailFail
Sample text15.35:1PassPassPass
#331D35 as text onRatioAAAAAAA large
Sample text15.35:1PassPassPass
Sample text1.37: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 #331D35 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #331d35; }
.text { color: #331d35; }
.border { border: 2px solid #331d35; }
.transparent { background-color: rgb(51 29 53 / 50%); }
.gradient { background: linear-gradient(to right, #331d35, #351d2b); }
Background
Text color
Border

Similar colors

Questions

What color is #331D35?
#331D35 is a very dark, desaturated magenta, closest to the named color Dark Purple. It belongs to the purple family of colors.
What is the RGB value of #331D35?
The RGB value is 51, 29, 53: 51 red, 29 green and 53 blue on a 0 to 255 scale.
What is the complementary color of #331D35?
The complementary color is #1F351D, found by rotating the hue 180° on the color wheel.
Is black or white text better on #331D35?
White text. Black text has a contrast ratio of 1.37:1 and white text 15.35:1. WCAG asks for at least 4.5:1 for normal text.