#312175 color
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 | |
|---|---|---|
| RGB | rgb(49, 33, 117) | |
| RGB percent | rgb(19.2%, 12.9%, 45.9%) | |
| HSL | hsl(251, 56%, 29%) | |
| HSV / HSB | hsv(251, 72%, 46%) | |
| CMYK | cmyk(58%, 72%, 0%, 54%) | |
| CIE LAB | lab(20.14, 31.81, -45.69) | |
| CIE LCH | lch(20.14, 55.67, 304.85) | |
| CIE XYZ | xyz(5.02, 3.025, 17.145) | |
| Decimal | 3219829 | |
| Short hex | None (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 #312175 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.61:1 | Fail | Fail | Fail |
| Sample text | 13.08:1 | Pass | Pass | Pass |
| #312175 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.08:1 | Pass | Pass | Pass |
| Sample text | 1.61: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 #312175 looks to people with the most common types of color vision deficiency.
#003378Protanopia
no red cones#002e73Deuteranopia
no green cones#113748Tritanopia
no blue cones#313131Achromatopsia
no color vision
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); }
Similar colors
#332277Deep Space Rodeo#3a1f76Explorer of the Galaxies#332266Dark Dreams#191970Midnight Blue#19197020000 Leagues Under the Sea#2e2364Indie Go#301885Indiglow#222266Intergalactic Cowboy
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.