#3D304B color
The hex color #3D304B is a dark, grayish violet.
In the RGB color model it is made of 23.9% red, 18.8% green and 29.4% blue (61, 48, 75).
Its hue angle is 269°, with 22% saturation and 24% lightness. For print, the CMYK equivalent is 19% cyan, 36% magenta, 0% yellow and 71% black.
The closest named color is Sanctum of Shadows (#3C2F4E), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.19:1).
#3D304B color codes
| HEX | #3D304B | |
|---|---|---|
| RGB | rgb(61, 48, 75) | |
| RGB percent | rgb(23.9%, 18.8%, 29.4%) | |
| HSL | hsl(269, 22%, 24%) | |
| HSV / HSB | hsv(269, 36%, 29%) | |
| CMYK | cmyk(19%, 36%, 0%, 71%) | |
| CIE LAB | lab(22.35, 12.17, -14.48) | |
| CIE LCH | lch(22.35, 18.92, 310.05) | |
| CIE XYZ | xyz(4.251, 3.614, 7.129) | |
| Decimal | 4010059 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3D304B, 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 #3D304B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.72:1 | Fail | Fail | Fail |
| Sample text | 12.19:1 | Pass | Pass | Pass |
| #3D304B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.19:1 | Pass | Pass | Pass |
| Sample text | 1.72: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 #3D304B looks to people with the most common types of color vision deficiency.
#2b354cProtanopia
no red cones#2d364aDeuteranopia
no green cones#3b343aTritanopia
no blue cones#353535Achromatopsia
no color vision
CSS examples
.background { background-color: #3d304b; }
.text { color: #3d304b; }
.border { border: 2px solid #3d304b; }
.transparent { background-color: rgb(61 48 75 / 50%); }
.gradient { background: linear-gradient(to right, #3d304b, #4b304b); }
Similar colors
#3c2f4eSanctum of Shadows#3f354fMaharaja#42364cCall It a Night#372d52Midnight Pie#403547Royal Decree#4e334eShadow Purple#2a2243Midnight Velvet#443240Voodoo
Closest common color name: Dark Purple.
Questions
- What color is #3D304B?
- #3D304B 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 #3D304B?
- The RGB value is 61, 48, 75: 61 red, 48 green and 75 blue on a 0 to 255 scale.
- What is the complementary color of #3D304B?
- The complementary color is #3E4B30, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3D304B?
- White text. Black text has a contrast ratio of 1.72:1 and white text 12.19:1. WCAG asks for at least 4.5:1 for normal text.