#3E314F color
The hex color #3E314F is a dark, grayish violet.
In the RGB color model it is made of 24.3% red, 19.2% green and 31% blue (62, 49, 79).
Its hue angle is 266°, with 23% saturation and 25% lightness. For print, the CMYK equivalent is 22% cyan, 38% magenta, 0% yellow and 69% black.
The closest named color is Sanctum of Shadows (#3C2F4E), a difference of 0.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.95:1).
#3E314F color codes
| HEX | #3E314F | |
|---|---|---|
| RGB | rgb(62, 49, 79) | |
| RGB percent | rgb(24.3%, 19.2%, 31%) | |
| HSL | hsl(266, 23%, 25%) | |
| HSV / HSB | hsv(266, 38%, 31%) | |
| CMYK | cmyk(22%, 38%, 0%, 69%) | |
| CIE LAB | lab(22.95, 12.95, -16.23) | |
| CIE LCH | lch(22.95, 20.76, 308.58) | |
| CIE XYZ | xyz(4.496, 3.785, 7.889) | |
| Decimal | 4075855 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3E314F, 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 #3E314F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.76:1 | Fail | Fail | Fail |
| Sample text | 11.95:1 | Pass | Pass | Pass |
| #3E314F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.95: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 #3E314F looks to people with the most common types of color vision deficiency.
#2a3650Protanopia
no red cones#2d374eDeuteranopia
no green cones#3b363cTritanopia
no blue cones#373737Achromatopsia
no color vision
CSS examples
.background { background-color: #3e314f; }
.text { color: #3e314f; }
.border { border: 2px solid #3e314f; }
.transparent { background-color: rgb(62 49 79 / 50%); }
.gradient { background: linear-gradient(to right, #3e314f, #4d314f); }
Similar colors
#3c2f4eSanctum of Shadows#3f354fMaharaja#372d52Midnight Pie#42364cCall It a Night#403547Royal Decree#322c56Purple Noir#4e334eShadow Purple#2a2243Midnight Velvet
Closest common color name: Dark Purple.
Questions
- What color is #3E314F?
- #3E314F is a dark, grayish violet, closest to the named color Sanctum of Shadows. It belongs to the purple family of colors.
- What is the RGB value of #3E314F?
- The RGB value is 62, 49, 79: 62 red, 49 green and 79 blue on a 0 to 255 scale.
- What is the complementary color of #3E314F?
- The complementary color is #424F31, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3E314F?
- White text. Black text has a contrast ratio of 1.76:1 and white text 11.95:1. WCAG asks for at least 4.5:1 for normal text.