#312738 color

#312738 rgb(49, 39, 56)
Shades of gray

The hex color #312738 is a very dark, grayish violet.

In the RGB color model it is made of 19.2% red, 15.3% green and 22% blue (49, 39, 56).

Its hue angle is 275°, with 18% saturation and 19% lightness. For print, the CMYK equivalent is 13% cyan, 30% magenta, 0% yellow and 78% black.

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

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

#312738 color codes

HEX#312738
RGBrgb(49, 39, 56)
RGB percentrgb(19.2%, 15.3%, 22%)
HSLhsl(275, 18%, 19%)
HSV / HSBhsv(275, 30%, 22%)
CMYKcmyk(13%, 30%, 0%, 78%)
CIE LABlab(17.41, 8.66, -9.21)
CIE LCHlch(17.41, 12.64, 313.23)
CIE XYZxyz(2.706, 2.39, 4.059)
Decimal3221304
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #312738; }
.text { color: #312738; }
.border { border: 2px solid #312738; }
.transparent { background-color: rgb(49 39 56 / 50%); }
.gradient { background: linear-gradient(to right, #312738, #382737); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #312738?
#312738 is a very dark, grayish violet, closest to the named color Melanzane. It belongs to the gray family of colors.
What is the RGB value of #312738?
The RGB value is 49, 39, 56: 49 red, 39 green and 56 blue on a 0 to 255 scale.
What is the complementary color of #312738?
The complementary color is #2E3827, found by rotating the hue 180° on the color wheel.
Is black or white text better on #312738?
White text. Black text has a contrast ratio of 1.48:1 and white text 14.21:1. WCAG asks for at least 4.5:1 for normal text.