#3A333F color
The hex color #3A333F is a dark, grayish violet.
In the RGB color model it is made of 22.7% red, 20% green and 24.7% blue (58, 51, 63).
Its hue angle is 275°, with 11% saturation and 22% lightness. For print, the CMYK equivalent is 8% cyan, 19% magenta, 0% yellow and 75% black.
The closest named color is Professor Plum (#393540), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.17:1).
#3A333F color codes
| HEX | #3A333F | |
|---|---|---|
| RGB | rgb(58, 51, 63) | |
| RGB percent | rgb(22.7%, 20%, 24.7%) | |
| HSL | hsl(275, 11%, 22%) | |
| HSV / HSB | hsv(275, 19%, 25%) | |
| CMYK | cmyk(8%, 19%, 0%, 75%) | |
| CIE LAB | lab(22.39, 5.86, -6.36) | |
| CIE LCH | lch(22.39, 8.65, 312.64) | |
| CIE XYZ | xyz(3.826, 3.626, 5.2) | |
| Decimal | 3814207 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3A333F, 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 #3A333F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.73:1 | Fail | Fail | Fail |
| Sample text | 12.17:1 | Pass | Pass | Pass |
| #3A333F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.17:1 | Pass | Pass | Pass |
| Sample text | 1.73: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 #3A333F looks to people with the most common types of color vision deficiency.
#313540Protanopia
no red cones#33363fDeuteranopia
no green cones#3a3437Tritanopia
no blue cones#363636Achromatopsia
no color vision
CSS examples
.background { background-color: #3a333f; }
.text { color: #3a333f; }
.border { border: 2px solid #3a333f; }
.transparent { background-color: rgb(58 51 63 / 50%); }
.gradient { background: linear-gradient(to right, #3a333f, #3f333e); }
Similar colors
#393540Professor Plum#35343fWitches Cauldron#413d4bItalian Grape#403547Royal Decree#333344Shuriken#342931Melanzane#2c2a35Haiti#3f3c43Tuxedo
Closest common color name: Jet Black.
Questions
- What color is #3A333F?
- #3A333F is a dark, grayish violet, closest to the named color Professor Plum. It belongs to the gray family of colors.
- What is the RGB value of #3A333F?
- The RGB value is 58, 51, 63: 58 red, 51 green and 63 blue on a 0 to 255 scale.
- What is the complementary color of #3A333F?
- The complementary color is #383F33, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3A333F?
- White text. Black text has a contrast ratio of 1.73:1 and white text 12.17:1. WCAG asks for at least 4.5:1 for normal text.