Maharaja color: hex code #3F354F
Maharaja has the hex code #3F354F. It is a dark, grayish violet.
In the RGB color model it is made of 24.7% red, 20.8% green and 31% blue (63, 53, 79).
Its hue angle is 263°, with 20% saturation and 26% lightness. For print, the CMYK equivalent is 20% cyan, 33% magenta, 0% yellow and 69% black.
White text is the more readable choice on this background (contrast 11.45:1).
Maharaja (#3F354F) color codes
| HEX | #3F354F | |
|---|---|---|
| RGB | rgb(63, 53, 79) | |
| RGB percent | rgb(24.7%, 20.8%, 31%) | |
| HSL | hsl(263, 20%, 26%) | |
| HSV / HSB | hsv(263, 33%, 31%) | |
| CMYK | cmyk(20%, 33%, 0%, 69%) | |
| CIE LAB | lab(24.22, 10.61, -14.25) | |
| CIE LCH | lch(24.22, 17.77, 306.67) | |
| CIE XYZ | xyz(4.734, 4.167, 7.951) | |
| Decimal | 4142415 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Maharaja, 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 #3F354F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.83:1 | Fail | Fail | Fail |
| Sample text | 11.45:1 | Pass | Pass | Pass |
| #3F354F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.45:1 | Pass | Pass | Pass |
| Sample text | 1.83: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 #3F354F looks to people with the most common types of color vision deficiency.
#303950Protanopia
no red cones#31394eDeuteranopia
no green cones#3c393eTritanopia
no blue cones#3a3a3aAchromatopsia
no color vision
CSS examples
.background { background-color: #3f354f; }
.text { color: #3f354f; }
.border { border: 2px solid #3f354f; }
.transparent { background-color: rgb(63 53 79 / 50%); }
.gradient { background: linear-gradient(to right, #3f354f, #4c354f); }
Similar colors
#42364cCall It a Night#3c2f4eSanctum of Shadows#403547Royal Decree#372d52Midnight Pie#2c2e47Midnight Masquerade#4e334eShadow Purple#3d3d63Storm Is Coming#544563Nightly Walk
Closest common color name: Dark Purple.
See #3F354F on its hex code page
Questions
- What color is #3F354F?
- #3F354F is a dark, grayish violet known as Maharaja. It belongs to the purple family of colors.
- What is the RGB value of Maharaja?
- The RGB value is 63, 53, 79: 63 red, 53 green and 79 blue on a 0 to 255 scale.
- What is the complementary color of Maharaja?
- The complementary color is #454F35, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3F354F?
- White text. Black text has a contrast ratio of 1.83:1 and white text 11.45:1. WCAG asks for at least 4.5:1 for normal text.