#3F304D color
The hex color #3F304D is a dark, grayish violet.
In the RGB color model it is made of 24.7% red, 18.8% green and 30.2% blue (63, 48, 77).
Its hue angle is 271°, with 23% saturation and 25% lightness. For print, the CMYK equivalent is 18% cyan, 38% magenta, 0% yellow and 70% black.
The closest named color is Sanctum of Shadows (#3C2F4E), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.06:1).
#3F304D color codes
| HEX | #3F304D | |
|---|---|---|
| RGB | rgb(63, 48, 77) | |
| RGB percent | rgb(24.7%, 18.8%, 30.2%) | |
| HSL | hsl(271, 23%, 25%) | |
| HSV / HSB | hsv(271, 38%, 30%) | |
| CMYK | cmyk(18%, 38%, 0%, 70%) | |
| CIE LAB | lab(22.68, 13.45, -15.3) | |
| CIE LCH | lch(22.68, 20.37, 311.31) | |
| CIE XYZ | xyz(4.446, 3.707, 7.501) | |
| Decimal | 4141133 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3F304D, 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 #3F304D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.74:1 | Fail | Fail | Fail |
| Sample text | 12.06:1 | Pass | Pass | Pass |
| #3F304D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.06:1 | Pass | Pass | Pass |
| Sample text | 1.74: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 #3F304D looks to people with the most common types of color vision deficiency.
#2a364eProtanopia
no red cones#2e364cDeuteranopia
no green cones#3d343bTritanopia
no blue cones#363636Achromatopsia
no color vision
CSS examples
.background { background-color: #3f304d; }
.text { color: #3f304d; }
.border { border: 2px solid #3f304d; }
.transparent { background-color: rgb(63 48 77 / 50%); }
.gradient { background: linear-gradient(to right, #3f304d, #4d304c); }
Similar colors
#3c2f4eSanctum of Shadows#3f354fMaharaja#42364cCall It a Night#372d52Midnight Pie#4e334eShadow Purple#403547Royal Decree#2a2243Midnight Velvet#4f325eRoyal Crown
Closest common color name: Dark Purple.
Questions
- What color is #3F304D?
- #3F304D 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 #3F304D?
- The RGB value is 63, 48, 77: 63 red, 48 green and 77 blue on a 0 to 255 scale.
- What is the complementary color of #3F304D?
- The complementary color is #3E4D30, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3F304D?
- White text. Black text has a contrast ratio of 1.74:1 and white text 12.06:1. WCAG asks for at least 4.5:1 for normal text.