#31134A color

#31134A rgb(49, 19, 74)
Shades of purple

The hex color #31134A is a very dark, moderate violet.

In the RGB color model it is made of 19.2% red, 7.5% green and 29% blue (49, 19, 74).

Its hue angle is 273°, with 59% saturation and 18% lightness. For print, the CMYK equivalent is 34% cyan, 74% magenta, 0% yellow and 71% black.

The closest named color is Fabric of Space (#341758), a difference of 3 ΔE, a small difference.

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

#31134A color codes

HEX#31134A
RGBrgb(49, 19, 74)
RGB percentrgb(19.2%, 7.5%, 29%)
HSLhsl(273, 59%, 18%)
HSV / HSBhsv(273, 74%, 29%)
CMYKcmyk(34%, 74%, 0%, 71%)
CIE LABlab(13.31, 26.89, -28.21)
CIE LCHlch(13.31, 38.97, 313.63)
CIE XYZxyz(2.735, 1.613, 6.645)
Decimal3216202
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #31134A, 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 #31134ARatioAAAAAAA large
Sample text1.32:1FailFailFail
Sample text15.88:1PassPassPass
#31134A as text onRatioAAAAAAA large
Sample text15.88:1PassPassPass
Sample text1.32: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 #31134A looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #31134a; }
.text { color: #31134a; }
.border { border: 2px solid #31134a; }
.transparent { background-color: rgb(49 19 74 / 50%); }
.gradient { background: linear-gradient(to right, #31134a, #4a1347); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #31134A?
#31134A is a very dark, moderate violet, closest to the named color Fabric of Space. It belongs to the purple family of colors.
What is the RGB value of #31134A?
The RGB value is 49, 19, 74: 49 red, 19 green and 74 blue on a 0 to 255 scale.
What is the complementary color of #31134A?
The complementary color is #2C4A13, found by rotating the hue 180° on the color wheel.
Is black or white text better on #31134A?
White text. Black text has a contrast ratio of 1.32:1 and white text 15.88:1. WCAG asks for at least 4.5:1 for normal text.