#312050 color

#312050 rgb(49, 32, 80)
Shades of purple

The hex color #312050 is a dark, desaturated violet.

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

Its hue angle is 261°, with 43% saturation and 22% lightness. For print, the CMYK equivalent is 39% cyan, 60% magenta, 0% yellow and 69% black.

The closest named color is Stormy Night (#372354), a difference of 1.4 ΔE, which is barely visible.

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

#312050 color codes

HEX#312050
RGBrgb(49, 32, 80)
RGB percentrgb(19.2%, 12.5%, 31.4%)
HSLhsl(261, 43%, 22%)
HSV / HSBhsv(261, 60%, 31%)
CMYKcmyk(39%, 60%, 0%, 69%)
CIE LABlab(16.82, 20.5, -26.67)
CIE LCHlch(16.82, 33.63, 307.54)
CIE XYZxyz(3.231, 2.265, 7.855)
Decimal3219536
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #312050; }
.text { color: #312050; }
.border { border: 2px solid #312050; }
.transparent { background-color: rgb(49 32 80 / 50%); }
.gradient { background: linear-gradient(to right, #312050, #492050); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #312050?
#312050 is a dark, desaturated violet, closest to the named color Stormy Night. It belongs to the purple family of colors.
What is the RGB value of #312050?
The RGB value is 49, 32, 80: 49 red, 32 green and 80 blue on a 0 to 255 scale.
What is the complementary color of #312050?
The complementary color is #3F5020, found by rotating the hue 180° on the color wheel.
Is black or white text better on #312050?
White text. Black text has a contrast ratio of 1.45:1 and white text 14.45:1. WCAG asks for at least 4.5:1 for normal text.