#382236 color
The hex color #382236 is a very dark, grayish magenta.
In the RGB color model it is made of 22% red, 13.3% green and 21.2% blue (56, 34, 54).
Its hue angle is 305°, with 24% saturation and 18% lightness. For print, the CMYK equivalent is 0% cyan, 39% magenta, 4% yellow and 78% black.
The closest named color is Dark Purple (#301934), a difference of 3.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.48:1).
#382236 color codes
| HEX | #382236 | |
|---|---|---|
| RGB | rgb(56, 34, 54) | |
| RGB percent | rgb(22%, 13.3%, 21.2%) | |
| HSL | hsl(305, 24%, 18%) | |
| HSV / HSB | hsv(305, 39%, 22%) | |
| CMYK | cmyk(0%, 39%, 4%, 78%) | |
| CIE LAB | lab(16.75, 14.49, -8.73) | |
| CIE LCH | lch(16.75, 16.92, 328.94) | |
| CIE XYZ | xyz(2.869, 2.251, 3.773) | |
| Decimal | 3678774 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #382236, 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 #382236 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.45:1 | Fail | Fail | Fail |
| Sample text | 14.48:1 | Pass | Pass | Pass |
| #382236 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.48:1 | Pass | Pass | Pass |
| Sample text | 1.45: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 #382236 looks to people with the most common types of color vision deficiency.
#212837Protanopia
no red cones#272a35Deuteranopia
no green cones#3a2429Tritanopia
no blue cones#292929Achromatopsia
no color vision
CSS examples
.background { background-color: #382236; }
.text { color: #382236; }
.border { border: 2px solid #382236; }
.transparent { background-color: rgb(56 34 54 / 50%); }
.gradient { background: linear-gradient(to right, #382236, #38222b); }
Similar colors
#301934Dark Purple#391531Nightly Voyager#442244Purple Void#443240Voodoo#44232fCastro#2c1620Black Cherry#3b193fCreatures of the Night#2b0f2eDark Prom Queen
Questions
- What color is #382236?
- #382236 is a very dark, grayish magenta, closest to the named color Dark Purple. It belongs to the purple family of colors.
- What is the RGB value of #382236?
- The RGB value is 56, 34, 54: 56 red, 34 green and 54 blue on a 0 to 255 scale.
- What is the complementary color of #382236?
- The complementary color is #223824, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #382236?
- White text. Black text has a contrast ratio of 1.45:1 and white text 14.48:1. WCAG asks for at least 4.5:1 for normal text.