#3D3751 color
The hex color #3D3751 is a dark, grayish violet.
In the RGB color model it is made of 23.9% red, 21.6% green and 31.8% blue (61, 55, 81).
Its hue angle is 254°, with 19% saturation and 27% lightness. For print, the CMYK equivalent is 25% cyan, 32% magenta, 0% yellow and 68% black.
The closest named color is Maharaja (#3F354F), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.27:1).
#3D3751 color codes
| HEX | #3D3751 | |
|---|---|---|
| RGB | rgb(61, 55, 81) | |
| RGB percent | rgb(23.9%, 21.6%, 31.8%) | |
| HSL | hsl(254, 19%, 27%) | |
| HSV / HSB | hsv(254, 32%, 32%) | |
| CMYK | cmyk(25%, 32%, 0%, 68%) | |
| CIE LAB | lab(24.7, 9.08, -14.85) | |
| CIE LCH | lch(24.7, 17.41, 301.44) | |
| CIE XYZ | xyz(4.776, 4.319, 8.365) | |
| Decimal | 4011857 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3D3751, 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 #3D3751 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.86:1 | Fail | Fail | Fail |
| Sample text | 11.27:1 | Pass | Pass | Pass |
| #3D3751 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.27:1 | Pass | Pass | Pass |
| Sample text | 1.86: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 #3D3751 looks to people with the most common types of color vision deficiency.
#313b52Protanopia
no red cones#313a50Deuteranopia
no green cones#393b40Tritanopia
no blue cones#3b3b3bAchromatopsia
no color vision
CSS examples
.background { background-color: #3d3751; }
.text { color: #3d3751; }
.border { border: 2px solid #3d3751; }
.transparent { background-color: rgb(61 55 81 / 50%); }
.gradient { background: linear-gradient(to right, #3d3751, #4a3751); }
Similar colors
#3f354fMaharaja#42364cCall It a Night#3c2f4eSanctum of Shadows#403547Royal Decree#2c2e47Midnight Masquerade#372d52Midnight Pie#3d3d63Storm Is Coming#333344Shuriken
Closest common color name: Dark Purple.
Questions
- What color is #3D3751?
- #3D3751 is a dark, grayish violet, closest to the named color Maharaja. It belongs to the blue family of colors.
- What is the RGB value of #3D3751?
- The RGB value is 61, 55, 81: 61 red, 55 green and 81 blue on a 0 to 255 scale.
- What is the complementary color of #3D3751?
- The complementary color is #4B5137, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3D3751?
- White text. Black text has a contrast ratio of 1.86:1 and white text 11.27:1. WCAG asks for at least 4.5:1 for normal text.