#391F54 color
The hex color #391F54 is a dark, desaturated violet.
In the RGB color model it is made of 22.4% red, 12.2% green and 32.9% blue (57, 31, 84).
Its hue angle is 269°, with 46% saturation and 23% lightness. For print, the CMYK equivalent is 32% cyan, 63% magenta, 0% yellow and 67% black.
The closest named color is Stormy Night (#372354), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.02:1).
#391F54 color codes
| HEX | #391F54 | |
|---|---|---|
| RGB | rgb(57, 31, 84) | |
| RGB percent | rgb(22.4%, 12.2%, 32.9%) | |
| HSL | hsl(269, 46%, 23%) | |
| HSV / HSB | hsv(269, 63%, 33%) | |
| CMYK | cmyk(32%, 63%, 0%, 67%) | |
| CIE LAB | lab(17.87, 24.62, -27.63) | |
| CIE LCH | lch(17.87, 37.01, 311.7) | |
| CIE XYZ | xyz(3.777, 2.49, 8.667) | |
| Decimal | 3743572 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #391F54, 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 #391F54 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.5:1 | Fail | Fail | Fail |
| Sample text | 14.02:1 | Pass | Pass | Pass |
| #391F54 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.02:1 | Pass | Pass | Pass |
| Sample text | 1.5: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 #391F54 looks to people with the most common types of color vision deficiency.
#082b56Protanopia
no red cones#132c53Deuteranopia
no green cones#342936Tritanopia
no blue cones#2c2c2cAchromatopsia
no color vision
CSS examples
.background { background-color: #391f54; }
.text { color: #391f54; }
.border { border: 2px solid #391f54; }
.transparent { background-color: rgb(57 31 84 / 50%); }
.gradient { background: linear-gradient(to right, #391f54, #541f54); }
Similar colors
#372354Stormy Night#431c53Plunged Into Darkness#341758Fabric of Space#48295bAcai#442266Fading Horizon#4a2559Wonka Purple#37115cWicked Purple#332266Dark Dreams
Closest common color name: Dark Purple.
Questions
- What color is #391F54?
- #391F54 is a dark, desaturated violet, closest to the named color Stormy Night. It belongs to the purple family of colors.
- What is the RGB value of #391F54?
- The RGB value is 57, 31, 84: 57 red, 31 green and 84 blue on a 0 to 255 scale.
- What is the complementary color of #391F54?
- The complementary color is #3A541F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #391F54?
- White text. Black text has a contrast ratio of 1.5:1 and white text 14.02:1. WCAG asks for at least 4.5:1 for normal text.