#312334 color

#312334 rgb(49, 35, 52)
Shades of purple

The hex color #312334 is a very dark, grayish magenta.

In the RGB color model it is made of 19.2% red, 13.7% green and 20.4% blue (49, 35, 52).

Its hue angle is 289°, with 20% saturation and 17% lightness. For print, the CMYK equivalent is 6% cyan, 33% magenta, 0% yellow and 80% black.

The closest named color is Melanzane (#342931), a difference of 5 ΔE, a small difference.

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

#312334 color codes

HEX#312334
RGBrgb(49, 35, 52)
RGB percentrgb(19.2%, 13.7%, 20.4%)
HSLhsl(289, 20%, 17%)
HSV / HSBhsv(289, 33%, 20%)
CMYKcmyk(6%, 33%, 0%, 80%)
CIE LABlab(16.02, 10.44, -8.53)
CIE LCHlch(16.02, 13.48, 320.75)
CIE XYZxyz(2.487, 2.103, 3.523)
Decimal3220276
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #312334; }
.text { color: #312334; }
.border { border: 2px solid #312334; }
.transparent { background-color: rgb(49 35 52 / 50%); }
.gradient { background: linear-gradient(to right, #312334, #34232e); }
Background
Text color
Border

Similar colors

Questions

What color is #312334?
#312334 is a very dark, grayish magenta, closest to the named color Melanzane. It belongs to the purple family of colors.
What is the RGB value of #312334?
The RGB value is 49, 35, 52: 49 red, 35 green and 52 blue on a 0 to 255 scale.
What is the complementary color of #312334?
The complementary color is #263423, found by rotating the hue 180° on the color wheel.
Is black or white text better on #312334?
White text. Black text has a contrast ratio of 1.42:1 and white text 14.78:1. WCAG asks for at least 4.5:1 for normal text.