#371231 color

#371231 rgb(55, 18, 49)
Shades of purple

The hex color #371231 is a very dark, moderate magenta.

In the RGB color model it is made of 21.6% red, 7.1% green and 19.2% blue (55, 18, 49).

Its hue angle is 310°, with 51% saturation and 14% lightness. For print, the CMYK equivalent is 0% cyan, 67% magenta, 11% yellow and 78% black.

The closest named color is Nightly Voyager (#391531), a difference of 1.2 ΔE, which is barely visible.

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

#371231 color codes

HEX#371231
RGBrgb(55, 18, 49)
RGB percentrgb(21.6%, 7.1%, 19.2%)
HSLhsl(310, 51%, 14%)
HSV / HSBhsv(310, 67%, 22%)
CMYKcmyk(0%, 67%, 11%, 78%)
CIE LABlab(12.4, 23.19, -11.88)
CIE LCHlch(12.4, 26.06, 332.88)
CIE XYZxyz(2.346, 1.467, 3.065)
Decimal3609137
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #371231; }
.text { color: #371231; }
.border { border: 2px solid #371231; }
.transparent { background-color: rgb(55 18 49 / 50%); }
.gradient { background: linear-gradient(to right, #371231, #37121e); }
Background
Text color
Border

Similar colors

Questions

What color is #371231?
#371231 is a very dark, moderate magenta, closest to the named color Nightly Voyager. It belongs to the purple family of colors.
What is the RGB value of #371231?
The RGB value is 55, 18, 49: 55 red, 18 green and 49 blue on a 0 to 255 scale.
What is the complementary color of #371231?
The complementary color is #123718, found by rotating the hue 180° on the color wheel.
Is black or white text better on #371231?
White text. Black text has a contrast ratio of 1.29:1 and white text 16.24:1. WCAG asks for at least 4.5:1 for normal text.