#31084B color

#31084B rgb(49, 8, 75)
Shades of black

The hex color #31084B is a very dark, vivid violet.

In the RGB color model it is made of 19.2% red, 3.1% green and 29.4% blue (49, 8, 75).

Its hue angle is 277°, with 81% saturation and 16% lightness. For print, the CMYK equivalent is 35% cyan, 89% magenta, 0% yellow and 71% black.

The closest named color is Hollow Knight (#330055), a difference of 2.8 ΔE, a small difference.

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

#31084B color codes

HEX#31084B
RGBrgb(49, 8, 75)
RGB percentrgb(19.2%, 3.1%, 29.4%)
HSLhsl(277, 81%, 16%)
HSV / HSBhsv(277, 89%, 29%)
CMYKcmyk(35%, 89%, 0%, 71%)
CIE LABlab(11.52, 32.5, -31.81)
CIE LCHlch(11.52, 45.48, 315.61)
CIE XYZxyz(2.623, 1.335, 6.775)
Decimal3213387
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #31084b; }
.text { color: #31084b; }
.border { border: 2px solid #31084b; }
.transparent { background-color: rgb(49 8 75 / 50%); }
.gradient { background: linear-gradient(to right, #31084b, #4b0844); }
Background
Text color
Border

Similar colors

Closest common color name: Midnight Blue.

Questions

What color is #31084B?
#31084B is a very dark, vivid violet, closest to the named color Hollow Knight. It belongs to the black family of colors.
What is the RGB value of #31084B?
The RGB value is 49, 8, 75: 49 red, 8 green and 75 blue on a 0 to 255 scale.
What is the complementary color of #31084B?
The complementary color is #224B08, found by rotating the hue 180° on the color wheel.
Is black or white text better on #31084B?
White text. Black text has a contrast ratio of 1.27:1 and white text 16.58:1. WCAG asks for at least 4.5:1 for normal text.