#310C2A color

#310C2A rgb(49, 12, 42)
Shades of black

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

In the RGB color model it is made of 19.2% red, 4.7% green and 16.5% blue (49, 12, 42).

Its hue angle is 311°, with 61% saturation and 12% lightness. For print, the CMYK equivalent is 0% cyan, 76% magenta, 14% yellow and 81% black.

The closest named color is Nightly Voyager (#391531), a difference of 2.4 ΔE, a small difference.

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

#310C2A color codes

HEX#310C2A
RGBrgb(49, 12, 42)
RGB percentrgb(19.2%, 4.7%, 16.5%)
HSLhsl(311, 61%, 12%)
HSV / HSBhsv(311, 76%, 19%)
CMYKcmyk(0%, 76%, 14%, 81%)
CIE LABlab(9.67, 23.04, -11.06)
CIE LCHlch(9.67, 25.56, 334.35)
CIE XYZxyz(1.816, 1.083, 2.303)
Decimal3214378
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #310c2a; }
.text { color: #310c2a; }
.border { border: 2px solid #310c2a; }
.transparent { background-color: rgb(49 12 42 / 50%); }
.gradient { background: linear-gradient(to right, #310c2a, #310c17); }
Background
Text color
Border

Similar colors

Questions

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