#3A3153 color
The hex color #3A3153 is a dark, desaturated violet.
In the RGB color model it is made of 22.7% red, 19.2% green and 32.5% blue (58, 49, 83).
Its hue angle is 256°, with 26% saturation and 26% lightness. For print, the CMYK equivalent is 30% cyan, 41% magenta, 0% yellow and 67% black.
The closest named color is Midnight Pie (#372D52), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.04:1).
#3A3153 color codes
| HEX | #3A3153 | |
|---|---|---|
| RGB | rgb(58, 49, 83) | |
| RGB percent | rgb(22.7%, 19.2%, 32.5%) | |
| HSL | hsl(256, 26%, 26%) | |
| HSV / HSB | hsv(256, 41%, 33%) | |
| CMYK | cmyk(30%, 41%, 0%, 67%) | |
| CIE LAB | lab(22.73, 12.67, -19.27) | |
| CIE LCH | lch(22.73, 23.06, 303.32) | |
| CIE XYZ | xyz(4.404, 3.721, 8.668) | |
| Decimal | 3813715 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3A3153, 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 #3A3153 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.74:1 | Fail | Fail | Fail |
| Sample text | 12.04:1 | Pass | Pass | Pass |
| #3A3153 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.04:1 | Pass | Pass | Pass |
| Sample text | 1.74: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 #3A3153 looks to people with the most common types of color vision deficiency.
#283754Protanopia
no red cones#293652Deuteranopia
no green cones#35373eTritanopia
no blue cones#363636Achromatopsia
no color vision
CSS examples
.background { background-color: #3a3153; }
.text { color: #3a3153; }
.border { border: 2px solid #3a3153; }
.transparent { background-color: rgb(58 49 83 / 50%); }
.gradient { background: linear-gradient(to right, #3a3153, #4b3153); }
Similar colors
#372d52Midnight Pie#3c2f4eSanctum of Shadows#3f354fMaharaja#322c56Purple Noir#2c2c57Deep Sea Base#2a2243Midnight Velvet#3d3d63Storm Is Coming#42364cCall It a Night
Closest common color name: Dark Purple.
Questions
- What color is #3A3153?
- #3A3153 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 #3A3153?
- The RGB value is 58, 49, 83: 58 red, 49 green and 83 blue on a 0 to 255 scale.
- What is the complementary color of #3A3153?
- The complementary color is #4A5331, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3A3153?
- White text. Black text has a contrast ratio of 1.74:1 and white text 12.04:1. WCAG asks for at least 4.5:1 for normal text.