#31243E color

#31243E rgb(49, 36, 62)
Shades of purple

The hex color #31243E is a very dark, desaturated violet.

In the RGB color model it is made of 19.2% red, 14.1% green and 24.3% blue (49, 36, 62).

Its hue angle is 270°, with 27% saturation and 19% lightness. For print, the CMYK equivalent is 21% cyan, 42% magenta, 0% yellow and 76% black.

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

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

#31243E color codes

HEX#31243E
RGBrgb(49, 36, 62)
RGB percentrgb(19.2%, 14.1%, 24.3%)
HSLhsl(270, 27%, 19%)
HSV / HSBhsv(270, 42%, 24%)
CMYKcmyk(21%, 42%, 0%, 76%)
CIE LABlab(16.81, 12.39, -14.32)
CIE LCHlch(16.81, 18.94, 310.88)
CIE XYZxyz(2.767, 2.263, 4.847)
Decimal3220542
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #31243e; }
.text { color: #31243e; }
.border { border: 2px solid #31243e; }
.transparent { background-color: rgb(49 36 62 / 50%); }
.gradient { background: linear-gradient(to right, #31243e, #3e243e); }
Background
Text color
Border

Similar colors

Questions

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