#311189 color
The hex color #311189 is a dark, moderate violet.
In the RGB color model it is made of 19.2% red, 6.7% green and 53.7% blue (49, 17, 137).
Its hue angle is 256°, with 78% saturation and 30% lightness. For print, the CMYK equivalent is 64% cyan, 88% magenta, 0% yellow and 46% black.
The closest named color is Indiglow (#301885), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.36:1).
#311189 color codes
| HEX | #311189 | |
|---|---|---|
| RGB | rgb(49, 17, 137) | |
| RGB percent | rgb(19.2%, 6.7%, 53.7%) | |
| HSL | hsl(256, 78%, 30%) | |
| HSV / HSB | hsv(256, 88%, 54%) | |
| CMYK | cmyk(64%, 88%, 0%, 46%) | |
| CIE LAB | lab(19.47, 45.98, -59.48) | |
| CIE LCH | lch(19.47, 75.18, 307.7) | |
| CIE XYZ | xyz(5.981, 2.86, 23.899) | |
| Decimal | 3215753 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #311189, 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 #311189 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.57:1 | Fail | Fail | Fail |
| Sample text | 13.36:1 | Pass | Pass | Pass |
| #311189 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.36:1 | Pass | Pass | Pass |
| Sample text | 1.57: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 #311189 looks to people with the most common types of color vision deficiency.
#00338cProtanopia
no red cones#002b87Deuteranopia
no green cones#003850Tritanopia
no blue cones#2f2f2fAchromatopsia
no color vision
CSS examples
.background { background-color: #311189; }
.text { color: #311189; }
.border { border: 2px solid #311189; }
.transparent { background-color: rgb(49 17 137 / 50%); }
.gradient { background: linear-gradient(to right, #311189, #6d1189); }
Similar colors
#301885Indiglow#221188Nightly Expedition#220088Orbital Kingdom#240093Dramatic Blue#120a8fUltramarine#111188Galactic Cruise#0c1793Royal#440099Space Battle Blue
Questions
- What color is #311189?
- #311189 is a dark, moderate violet, closest to the named color Indiglow. It belongs to the purple family of colors.
- What is the RGB value of #311189?
- The RGB value is 49, 17, 137: 49 red, 17 green and 137 blue on a 0 to 255 scale.
- What is the complementary color of #311189?
- The complementary color is #698911, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #311189?
- White text. Black text has a contrast ratio of 1.57:1 and white text 13.36:1. WCAG asks for at least 4.5:1 for normal text.