#3B3155 color
The hex color #3B3155 is a dark, desaturated violet.
In the RGB color model it is made of 23.1% red, 19.2% green and 33.3% blue (59, 49, 85).
Its hue angle is 257°, with 27% saturation and 26% lightness. For print, the CMYK equivalent is 31% cyan, 42% magenta, 0% yellow and 67% black.
The closest named color is Midnight Pie (#372D52), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.96:1).
#3B3155 color codes
| HEX | #3B3155 | |
|---|---|---|
| RGB | rgb(59, 49, 85) | |
| RGB percent | rgb(23.1%, 19.2%, 33.3%) | |
| HSL | hsl(257, 27%, 26%) | |
| HSV / HSB | hsv(257, 42%, 33%) | |
| CMYK | cmyk(31%, 42%, 0%, 67%) | |
| CIE LAB | lab(22.94, 13.6, -20.25) | |
| CIE LCH | lch(22.94, 24.39, 303.87) | |
| CIE XYZ | xyz(4.541, 3.782, 9.083) | |
| Decimal | 3879253 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3B3155, 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 #3B3155 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.76:1 | Fail | Fail | Fail |
| Sample text | 11.96:1 | Pass | Pass | Pass |
| #3B3155 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.96:1 | Pass | Pass | Pass |
| Sample text | 1.76: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 #3B3155 looks to people with the most common types of color vision deficiency.
#273756Protanopia
no red cones#293654Deuteranopia
no green cones#36373fTritanopia
no blue cones#373737Achromatopsia
no color vision
CSS examples
.background { background-color: #3b3155; }
.text { color: #3b3155; }
.border { border: 2px solid #3b3155; }
.transparent { background-color: rgb(59 49 85 / 50%); }
.gradient { background: linear-gradient(to right, #3b3155, #4d3155); }
Similar colors
#372d52Midnight Pie#3c2f4eSanctum of Shadows#322c56Purple Noir#3f354fMaharaja#2c2c57Deep Sea Base#3d3d63Storm Is Coming#4a3b6aMeteorite#2a2243Midnight Velvet
Closest common color name: Dark Purple.
Questions
- What color is #3B3155?
- #3B3155 is a dark, desaturated violet, closest to the named color Midnight Pie. It belongs to the purple family of colors.
- What is the RGB value of #3B3155?
- The RGB value is 59, 49, 85: 59 red, 49 green and 85 blue on a 0 to 255 scale.
- What is the complementary color of #3B3155?
- The complementary color is #4B5531, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3B3155?
- White text. Black text has a contrast ratio of 1.76:1 and white text 11.96:1. WCAG asks for at least 4.5:1 for normal text.