#312236 color

#312236 rgb(49, 34, 54)
Shades of purple

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

In the RGB color model it is made of 19.2% red, 13.3% green and 21.2% blue (49, 34, 54).

Its hue angle is 285°, with 23% saturation and 17% lightness. For print, the CMYK equivalent is 9% cyan, 37% magenta, 0% yellow and 79% black.

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

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

#312236 color codes

HEX#312236
RGBrgb(49, 34, 54)
RGB percentrgb(19.2%, 13.3%, 21.2%)
HSLhsl(285, 23%, 17%)
HSV / HSBhsv(285, 37%, 21%)
CMYKcmyk(9%, 37%, 0%, 79%)
CIE LABlab(15.82, 11.64, -10.25)
CIE LCHlch(15.82, 15.51, 318.65)
CIE XYZxyz(2.504, 2.063, 3.756)
Decimal3220022
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #312236; }
.text { color: #312236; }
.border { border: 2px solid #312236; }
.transparent { background-color: rgb(49 34 54 / 50%); }
.gradient { background: linear-gradient(to right, #312236, #362231); }
Background
Text color
Border

Similar colors

Questions

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