#31203B color

#31203B rgb(49, 32, 59)
Shades of purple

The hex color #31203B is a very dark, desaturated violet.

In the RGB color model it is made of 19.2% red, 12.5% green and 23.1% blue (49, 32, 59).

Its hue angle is 278°, with 30% saturation and 18% lightness. For print, the CMYK equivalent is 17% cyan, 46% magenta, 0% yellow and 77% black.

The closest named color is Dark Purple (#301934), a difference of 2.7 ΔE, a small difference.

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

#31203B color codes

HEX#31203B
RGBrgb(49, 32, 59)
RGB percentrgb(19.2%, 12.5%, 23.1%)
HSLhsl(278, 30%, 18%)
HSV / HSBhsv(278, 46%, 23%)
CMYKcmyk(17%, 46%, 0%, 77%)
CIE LABlab(15.5, 14.36, -14.26)
CIE LCHlch(15.5, 20.24, 315.19)
CIE XYZxyz(2.572, 2.002, 4.388)
Decimal3219515
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #31203b; }
.text { color: #31203b; }
.border { border: 2px solid #31203b; }
.transparent { background-color: rgb(49 32 59 / 50%); }
.gradient { background: linear-gradient(to right, #31203b, #3b2037); }
Background
Text color
Border

Similar colors

Questions

What color is #31203B?
#31203B is a very dark, desaturated violet, closest to the named color Dark Purple. It belongs to the purple family of colors.
What is the RGB value of #31203B?
The RGB value is 49, 32, 59: 49 red, 32 green and 59 blue on a 0 to 255 scale.
What is the complementary color of #31203B?
The complementary color is #2A3B20, found by rotating the hue 180° on the color wheel.
Is black or white text better on #31203B?
White text. Black text has a contrast ratio of 1.4:1 and white text 15:1. WCAG asks for at least 4.5:1 for normal text.