#3E334B color
The hex color #3E334B is a dark, grayish violet.
In the RGB color model it is made of 24.3% red, 20% green and 29.4% blue (62, 51, 75).
Its hue angle is 268°, with 19% saturation and 25% lightness. For print, the CMYK equivalent is 17% cyan, 32% magenta, 0% yellow and 71% black.
The closest named color is Maharaja (#3F354F), a difference of 1.1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.8:1).
#3E334B color codes
| HEX | #3E334B | |
|---|---|---|
| RGB | rgb(62, 51, 75) | |
| RGB percent | rgb(24.3%, 20%, 29.4%) | |
| HSL | hsl(268, 19%, 25%) | |
| HSV / HSB | hsv(268, 32%, 29%) | |
| CMYK | cmyk(17%, 32%, 0%, 71%) | |
| CIE LAB | lab(23.34, 10.52, -12.96) | |
| CIE LCH | lch(23.34, 16.69, 309.07) | |
| CIE XYZ | xyz(4.44, 3.9, 7.174) | |
| Decimal | 4076363 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3E334B, 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 #3E334B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.78:1 | Fail | Fail | Fail |
| Sample text | 11.8:1 | Pass | Pass | Pass |
| #3E334B 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 #3E334B looks to people with the most common types of color vision deficiency.
#2e374cProtanopia
no red cones#31384aDeuteranopia
no green cones#3c363cTritanopia
no blue cones#383838Achromatopsia
no color vision
CSS examples
.background { background-color: #3e334b; }
.text { color: #3e334b; }
.border { border: 2px solid #3e334b; }
.transparent { background-color: rgb(62 51 75 / 50%); }
.gradient { background: linear-gradient(to right, #3e334b, #4a334b); }
Similar colors
#3f354fMaharaja#42364cCall It a Night#403547Royal Decree#3c2f4eSanctum of Shadows#372d52Midnight Pie#443240Voodoo#4e334eShadow Purple#2c2e47Midnight Masquerade
Closest common color name: Dark Purple.
Questions
- What color is #3E334B?
- #3E334B 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 #3E334B?
- The RGB value is 62, 51, 75: 62 red, 51 green and 75 blue on a 0 to 255 scale.
- What is the complementary color of #3E334B?
- The complementary color is #404B33, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3E334B?
- 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.