#311C5D color

#311C5D rgb(49, 28, 93)
Shades of purple

The hex color #311C5D is a dark, moderate violet.

In the RGB color model it is made of 19.2% red, 11% green and 36.5% blue (49, 28, 93).

Its hue angle is 259°, with 54% saturation and 24% lightness. For print, the CMYK equivalent is 47% cyan, 70% magenta, 0% yellow and 64% black.

The closest named color is Fabric of Space (#341758), a difference of 2 ΔE, which is barely visible.

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

#311C5D color codes

HEX#311C5D
RGBrgb(49, 28, 93)
RGB percentrgb(19.2%, 11%, 36.5%)
HSLhsl(259, 54%, 24%)
HSV / HSBhsv(259, 70%, 36%)
CMYKcmyk(47%, 70%, 0%, 64%)
CIE LABlab(16.86, 27.15, -35.35)
CIE LCHlch(16.86, 44.57, 307.53)
CIE XYZxyz(3.657, 2.274, 10.6)
Decimal3218525
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #311C5D, 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 #311C5DRatioAAAAAAA large
Sample text1.45:1FailFailFail
Sample text14.44:1PassPassPass
#311C5D as text onRatioAAAAAAA large
Sample text14.44:1PassPassPass
Sample text1.45: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 #311C5D looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #311c5d; }
.text { color: #311c5d; }
.border { border: 2px solid #311c5d; }
.transparent { background-color: rgb(49 28 93 / 50%); }
.gradient { background: linear-gradient(to right, #311c5d, #511c5d); }
Background
Text color
Border

Similar colors

Closest common color name: Midnight Blue.

Questions

What color is #311C5D?
#311C5D is a 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 #311C5D?
The RGB value is 49, 28, 93: 49 red, 28 green and 93 blue on a 0 to 255 scale.
What is the complementary color of #311C5D?
The complementary color is #485D1C, found by rotating the hue 180° on the color wheel.
Is black or white text better on #311C5D?
White text. Black text has a contrast ratio of 1.45:1 and white text 14.44:1. WCAG asks for at least 4.5:1 for normal text.