#311C5D color
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 | |
|---|---|---|
| RGB | rgb(49, 28, 93) | |
| RGB percent | rgb(19.2%, 11%, 36.5%) | |
| HSL | hsl(259, 54%, 24%) | |
| HSV / HSB | hsv(259, 70%, 36%) | |
| CMYK | cmyk(47%, 70%, 0%, 64%) | |
| CIE LAB | lab(16.86, 27.15, -35.35) | |
| CIE LCH | lch(16.86, 44.57, 307.53) | |
| CIE XYZ | xyz(3.657, 2.274, 10.6) | |
| Decimal | 3218525 | |
| Short hex | None (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 #311C5D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.45:1 | Fail | Fail | Fail |
| Sample text | 14.44:1 | Pass | Pass | Pass |
| #311C5D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.44:1 | Pass | Pass | Pass |
| Sample text | 1.45:1 | Fail | Fail | Fail |
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.
#002a5fProtanopia
no red cones#00285cDeuteranopia
no green cones#252b39Tritanopia
no blue cones#2a2a2aAchromatopsia
no color vision
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); }
Similar colors
#341758Fabric of Space#332266Dark Dreams#2d135fVoldemort#2e2364Indie Go#37115cWicked Purple#2f1064Infinite Inkwell#442266Fading Horizon#372354Stormy Night
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.