#371231 color
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 | |
|---|---|---|
| RGB | rgb(55, 18, 49) | |
| RGB percent | rgb(21.6%, 7.1%, 19.2%) | |
| HSL | hsl(310, 51%, 14%) | |
| HSV / HSB | hsv(310, 67%, 22%) | |
| CMYK | cmyk(0%, 67%, 11%, 78%) | |
| CIE LAB | lab(12.4, 23.19, -11.88) | |
| CIE LCH | lch(12.4, 26.06, 332.88) | |
| CIE XYZ | xyz(2.346, 1.467, 3.065) | |
| Decimal | 3609137 | |
| Short hex | None (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 #371231 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.29:1 | Fail | Fail | Fail |
| Sample text | 16.24:1 | Pass | Pass | Pass |
| #371231 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.24:1 | Pass | Pass | Pass |
| Sample text | 1.29:1 | Fail | Fail | Fail |
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.
#121d32Protanopia
no red cones#1d2230Deuteranopia
no green cones#3a141fTritanopia
no blue cones#202020Achromatopsia
no color vision
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); }
Similar colors
#391531Nightly Voyager#2b0f2eDark Prom Queen#3b193fCreatures of the Night#301934Dark Purple#43182fBlackberry#3f012cDark Sanctuary#330022Vienna Roast#442244Purple Void
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.