#312949 color

#312949 rgb(49, 41, 73)
Shades of purple

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

In the RGB color model it is made of 19.2% red, 16.1% green and 28.6% blue (49, 41, 73).

Its hue angle is 255°, with 28% saturation and 22% lightness. For print, the CMYK equivalent is 33% cyan, 44% magenta, 0% yellow and 71% black.

The closest named color is Midnight Velvet (#2A2243), a difference of 2.2 ΔE, a small difference.

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

#312949 color codes

HEX#312949
RGBrgb(49, 41, 73)
RGB percentrgb(19.2%, 16.1%, 28.6%)
HSLhsl(255, 28%, 22%)
HSV / HSBhsv(255, 44%, 29%)
CMYKcmyk(33%, 44%, 0%, 71%)
CIE LABlab(18.89, 12.12, -18.64)
CIE LCHlch(18.89, 22.23, 303.03)
CIE XYZxyz(3.262, 2.72, 6.655)
Decimal3221833
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #312949; }
.text { color: #312949; }
.border { border: 2px solid #312949; }
.transparent { background-color: rgb(49 41 73 / 50%); }
.gradient { background: linear-gradient(to right, #312949, #412949); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #312949?
#312949 is a dark, desaturated violet, closest to the named color Midnight Velvet. It belongs to the purple family of colors.
What is the RGB value of #312949?
The RGB value is 49, 41, 73: 49 red, 41 green and 73 blue on a 0 to 255 scale.
What is the complementary color of #312949?
The complementary color is #414929, found by rotating the hue 180° on the color wheel.
Is black or white text better on #312949?
White text. Black text has a contrast ratio of 1.54:1 and white text 13.6:1. WCAG asks for at least 4.5:1 for normal text.