#383542 color
The hex color #383542 is a dark, grayish violet.
In the RGB color model it is made of 22% red, 20.8% green and 25.9% blue (56, 53, 66).
Its hue angle is 254°, with 11% saturation and 23% lightness. For print, the CMYK equivalent is 15% cyan, 20% magenta, 0% yellow and 74% black.
The closest named color is Professor Plum (#393540), a difference of 1.1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.96:1).
#383542 color codes
| HEX | #383542 | |
|---|---|---|
| RGB | rgb(56, 53, 66) | |
| RGB percent | rgb(22%, 20.8%, 25.9%) | |
| HSL | hsl(254, 11%, 23%) | |
| HSV / HSB | hsv(254, 20%, 26%) | |
| CMYK | cmyk(15%, 20%, 0%, 74%) | |
| CIE LAB | lab(22.93, 4.46, -7.6) | |
| CIE LCH | lch(22.93, 8.81, 300.41) | |
| CIE XYZ | xyz(3.887, 3.78, 5.678) | |
| Decimal | 3683650 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #383542, 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 #383542 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.76:1 | Fail | Fail | Fail |
| Sample text | 11.96:1 | Pass | Pass | Pass |
| #383542 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.96:1 | Pass | Pass | Pass |
| Sample text | 1.76: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 #383542 looks to people with the most common types of color vision deficiency.
#323743Protanopia
no red cones#333742Deuteranopia
no green cones#363739Tritanopia
no blue cones#373737Achromatopsia
no color vision
CSS examples
.background { background-color: #383542; }
.text { color: #383542; }
.border { border: 2px solid #383542; }
.transparent { background-color: rgb(56 53 66 / 50%); }
.gradient { background: linear-gradient(to right, #383542, #3e3542); }
Similar colors
#393540Professor Plum#35343fWitches Cauldron#333344Shuriken#413d4bItalian Grape#2c2a35Haiti#3f3c43Tuxedo#303543Total Eclipse#403547Royal Decree
Closest common color name: Graphite.
Questions
- What color is #383542?
- #383542 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 #383542?
- The RGB value is 56, 53, 66: 56 red, 53 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #383542?
- The complementary color is #3F4235, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #383542?
- White text. Black text has a contrast ratio of 1.76:1 and white text 11.96:1. WCAG asks for at least 4.5:1 for normal text.