#312175 color

#312175 rgb(49, 33, 117)
Shades of blue

The hex color #312175 is a dark, moderate violet.

In the RGB color model it is made of 19.2% red, 12.9% green and 45.9% blue (49, 33, 117).

Its hue angle is 251°, with 56% saturation and 29% lightness. For print, the CMYK equivalent is 58% cyan, 72% magenta, 0% yellow and 54% black.

The closest named color is Deep Space Rodeo (#332277), a difference of 0.4 ΔE, which is barely visible.

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

#312175 color codes

HEX#312175
RGBrgb(49, 33, 117)
RGB percentrgb(19.2%, 12.9%, 45.9%)
HSLhsl(251, 56%, 29%)
HSV / HSBhsv(251, 72%, 46%)
CMYKcmyk(58%, 72%, 0%, 54%)
CIE LABlab(20.14, 31.81, -45.69)
CIE LCHlch(20.14, 55.67, 304.85)
CIE XYZxyz(5.02, 3.025, 17.145)
Decimal3219829
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #312175; }
.text { color: #312175; }
.border { border: 2px solid #312175; }
.transparent { background-color: rgb(49 33 117 / 50%); }
.gradient { background: linear-gradient(to right, #312175, #5b2175); }
Background
Text color
Border

Similar colors

Questions

What color is #312175?
#312175 is a dark, moderate violet, closest to the named color Deep Space Rodeo. It belongs to the blue family of colors.
What is the RGB value of #312175?
The RGB value is 49, 33, 117: 49 red, 33 green and 117 blue on a 0 to 255 scale.
What is the complementary color of #312175?
The complementary color is #657521, found by rotating the hue 180° on the color wheel.
Is black or white text better on #312175?
White text. Black text has a contrast ratio of 1.61:1 and white text 13.08:1. WCAG asks for at least 4.5:1 for normal text.