#382E48 color
The hex color #382E48 is a dark, grayish violet.
In the RGB color model it is made of 22% red, 18% green and 28.2% blue (56, 46, 72).
Its hue angle is 263°, with 22% saturation and 23% lightness. For print, the CMYK equivalent is 22% cyan, 36% magenta, 0% yellow and 72% black.
The closest named color is Sanctum of Shadows (#3C2F4E), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.71:1).
#382E48 color codes
| HEX | #382E48 | |
|---|---|---|
| RGB | rgb(56, 46, 72) | |
| RGB percent | rgb(22%, 18%, 28.2%) | |
| HSL | hsl(263, 22%, 23%) | |
| HSV / HSB | hsv(263, 36%, 28%) | |
| CMYK | cmyk(22%, 36%, 0%, 72%) | |
| CIE LAB | lab(21.07, 10.86, -14.5) | |
| CIE LCH | lch(21.07, 18.12, 306.83) | |
| CIE XYZ | xyz(3.777, 3.263, 6.56) | |
| Decimal | 3681864 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #382E48, 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 #382E48 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.65:1 | Fail | Fail | Fail |
| Sample text | 12.71:1 | Pass | Pass | Pass |
| #382E48 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.71:1 | Pass | Pass | Pass |
| Sample text | 1.65: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 #382E48 looks to people with the most common types of color vision deficiency.
#283249Protanopia
no red cones#2a3347Deuteranopia
no green cones#353237Tritanopia
no blue cones#333333Achromatopsia
no color vision
CSS examples
.background { background-color: #382e48; }
.text { color: #382e48; }
.border { border: 2px solid #382e48; }
.transparent { background-color: rgb(56 46 72 / 50%); }
.gradient { background: linear-gradient(to right, #382e48, #452e48); }
Similar colors
#3c2f4eSanctum of Shadows#3f354fMaharaja#42364cCall It a Night#372d52Midnight Pie#403547Royal Decree#2a2243Midnight Velvet#2c2e47Midnight Masquerade#322c56Purple Noir
Closest common color name: Dark Purple.
Questions
- What color is #382E48?
- #382E48 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 #382E48?
- The RGB value is 56, 46, 72: 56 red, 46 green and 72 blue on a 0 to 255 scale.
- What is the complementary color of #382E48?
- The complementary color is #3E482E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #382E48?
- White text. Black text has a contrast ratio of 1.65:1 and white text 12.71:1. WCAG asks for at least 4.5:1 for normal text.