#3E3057 color
The hex color #3E3057 is a dark, desaturated violet.
In the RGB color model it is made of 24.3% red, 18.8% green and 34.1% blue (62, 48, 87).
Its hue angle is 262°, with 29% saturation and 26% lightness. For print, the CMYK equivalent is 29% cyan, 45% magenta, 0% yellow and 66% black.
The closest named color is Midnight Pie (#372D52), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.9:1).
#3E3057 color codes
| HEX | #3E3057 | |
|---|---|---|
| RGB | rgb(62, 48, 87) | |
| RGB percent | rgb(24.3%, 18.8%, 34.1%) | |
| HSL | hsl(262, 29%, 26%) | |
| HSV / HSB | hsv(262, 45%, 34%) | |
| CMYK | cmyk(29%, 45%, 0%, 66%) | |
| CIE LAB | lab(23.09, 15.86, -21.32) | |
| CIE LCH | lch(23.09, 26.57, 306.65) | |
| CIE XYZ | xyz(4.763, 3.826, 9.503) | |
| Decimal | 4075607 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3E3057, 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 #3E3057 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.77:1 | Fail | Fail | Fail |
| Sample text | 11.9:1 | Pass | Pass | Pass |
| #3E3057 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.9:1 | Pass | Pass | Pass |
| Sample text | 1.77: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 #3E3057 looks to people with the most common types of color vision deficiency.
#253758Protanopia
no red cones#283756Deuteranopia
no green cones#39373fTritanopia
no blue cones#373737Achromatopsia
no color vision
CSS examples
.background { background-color: #3e3057; }
.text { color: #3e3057; }
.border { border: 2px solid #3e3057; }
.transparent { background-color: rgb(62 48 87 / 50%); }
.gradient { background: linear-gradient(to right, #3e3057, #513057); }
Similar colors
#372d52Midnight Pie#3c2f4eSanctum of Shadows#322c56Purple Noir#4a3b6aMeteorite#372354Stormy Night#4f325eRoyal Crown#3f354fMaharaja#48295bAcai
Closest common color name: Dark Purple.
Questions
- What color is #3E3057?
- #3E3057 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 #3E3057?
- The RGB value is 62, 48, 87: 62 red, 48 green and 87 blue on a 0 to 255 scale.
- What is the complementary color of #3E3057?
- The complementary color is #495730, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3E3057?
- White text. Black text has a contrast ratio of 1.77:1 and white text 11.9:1. WCAG asks for at least 4.5:1 for normal text.