#201731 color

#201731 rgb(32, 23, 49)
Shades of black

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

In the RGB color model it is made of 12.5% red, 9% green and 19.2% blue (32, 23, 49).

Its hue angle is 261°, with 36% saturation and 14% lightness. For print, the CMYK equivalent is 35% cyan, 53% magenta, 0% yellow and 81% black.

The closest named color is Midnight Monarch (#1C0F33), a difference of 4.2 ΔE, a small difference.

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

#201731 color codes

HEX#201731
RGBrgb(32, 23, 49)
RGB percentrgb(12.5%, 9%, 19.2%)
HSLhsl(261, 36%, 14%)
HSV / HSBhsv(261, 53%, 19%)
CMYKcmyk(35%, 53%, 0%, 81%)
CIE LABlab(10.12, 11.6, -15.7)
CIE LCHlch(10.12, 19.52, 306.47)
CIE XYZxyz(1.456, 1.142, 3.049)
Decimal2103089
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #201731; }
.text { color: #201731; }
.border { border: 2px solid #201731; }
.transparent { background-color: rgb(32 23 49 / 50%); }
.gradient { background: linear-gradient(to right, #201731, #2d1731); }
Background
Text color
Border

Similar colors

Questions

What color is #201731?
#201731 is a very dark, desaturated violet, closest to the named color Midnight Monarch. It belongs to the black family of colors.
What is the RGB value of #201731?
The RGB value is 32, 23, 49: 32 red, 23 green and 49 blue on a 0 to 255 scale.
What is the complementary color of #201731?
The complementary color is #283117, found by rotating the hue 180° on the color wheel.
Is black or white text better on #201731?
White text. Black text has a contrast ratio of 1.23:1 and white text 17.1:1. WCAG asks for at least 4.5:1 for normal text.