#3D334D color
The hex color #3D334D is a dark, grayish violet.
In the RGB color model it is made of 23.9% red, 20% green and 30.2% blue (61, 51, 77).
Its hue angle is 263°, with 20% saturation and 25% lightness. For print, the CMYK equivalent is 21% cyan, 34% magenta, 0% yellow and 70% black.
The closest named color is Maharaja (#3F354F), a difference of 0.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.8:1).
#3D334D color codes
| HEX | #3D334D | |
|---|---|---|
| RGB | rgb(61, 51, 77) | |
| RGB percent | rgb(23.9%, 20%, 30.2%) | |
| HSL | hsl(263, 20%, 25%) | |
| HSV / HSB | hsv(263, 34%, 30%) | |
| CMYK | cmyk(21%, 34%, 0%, 70%) | |
| CIE LAB | lab(23.32, 10.68, -14.32) | |
| CIE LCH | lch(23.32, 17.87, 306.71) | |
| CIE XYZ | xyz(4.448, 3.896, 7.537) | |
| Decimal | 4010829 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3D334D, 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 #3D334D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.78:1 | Fail | Fail | Fail |
| Sample text | 11.8:1 | Pass | Pass | Pass |
| #3D334D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.8:1 | Pass | Pass | Pass |
| Sample text | 1.78: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 #3D334D looks to people with the most common types of color vision deficiency.
#2d374eProtanopia
no red cones#2f374cDeuteranopia
no green cones#3a373cTritanopia
no blue cones#383838Achromatopsia
no color vision
CSS examples
.background { background-color: #3d334d; }
.text { color: #3d334d; }
.border { border: 2px solid #3d334d; }
.transparent { background-color: rgb(61 51 77 / 50%); }
.gradient { background: linear-gradient(to right, #3d334d, #4a334d); }
Similar colors
#3f354fMaharaja#42364cCall It a Night#3c2f4eSanctum of Shadows#403547Royal Decree#372d52Midnight Pie#2c2e47Midnight Masquerade#443240Voodoo#4e334eShadow Purple
Closest common color name: Dark Purple.
Questions
- What color is #3D334D?
- #3D334D is a dark, grayish violet, closest to the named color Maharaja. It belongs to the purple family of colors.
- What is the RGB value of #3D334D?
- The RGB value is 61, 51, 77: 61 red, 51 green and 77 blue on a 0 to 255 scale.
- What is the complementary color of #3D334D?
- The complementary color is #434D33, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3D334D?
- White text. Black text has a contrast ratio of 1.78:1 and white text 11.8:1. WCAG asks for at least 4.5:1 for normal text.