#331D41 color

#331D41 rgb(51, 29, 65)
Shades of purple

The hex color #331D41 is a very dark, desaturated violet.

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

Its hue angle is 277°, with 38% saturation and 18% lightness. For print, the CMYK equivalent is 22% cyan, 55% magenta, 0% yellow and 75% black.

The closest named color is Creatures of the Night (#3B193F), a difference of 3.3 ΔE, a small difference.

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

#331D41 color codes

HEX#331D41
RGBrgb(51, 29, 65)
RGB percentrgb(20%, 11.4%, 25.5%)
HSLhsl(277, 38%, 18%)
HSV / HSBhsv(277, 55%, 25%)
CMYKcmyk(22%, 55%, 0%, 75%)
CIE LABlab(15.3, 18.75, -18.76)
CIE LCHlch(15.3, 26.52, 314.99)
CIE XYZxyz(2.759, 1.964, 5.234)
Decimal3349825
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Questions

What color is #331D41?
#331D41 is a very dark, desaturated violet, closest to the named color Creatures of the Night. It belongs to the purple family of colors.
What is the RGB value of #331D41?
The RGB value is 51, 29, 65: 51 red, 29 green and 65 blue on a 0 to 255 scale.
What is the complementary color of #331D41?
The complementary color is #2B411D, found by rotating the hue 180° on the color wheel.
Is black or white text better on #331D41?
White text. Black text has a contrast ratio of 1.39:1 and white text 15.08:1. WCAG asks for at least 4.5:1 for normal text.