#321338 color
The hex color #321338 is a very dark, desaturated magenta.
In the RGB color model it is made of 19.6% red, 7.5% green and 22% blue (50, 19, 56).
Its hue angle is 290°, with 49% saturation and 15% lightness. For print, the CMYK equivalent is 11% cyan, 66% magenta, 0% yellow and 78% black.
The closest named color is Creatures of the Night (#3B193F), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.33:1).
#321338 color codes
| HEX | #321338 | |
|---|---|---|
| RGB | rgb(50, 19, 56) | |
| RGB percent | rgb(19.6%, 7.5%, 22%) | |
| HSL | hsl(290, 49%, 15%) | |
| HSV / HSB | hsv(290, 66%, 22%) | |
| CMYK | cmyk(11%, 66%, 0%, 78%) | |
| CIE LAB | lab(12.15, 22.47, -17.37) | |
| CIE LCH | lch(12.15, 28.41, 322.29) | |
| CIE XYZ | xyz(2.262, 1.429, 3.897) | |
| Decimal | 3281720 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #321338, 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 #321338 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.29:1 | Fail | Fail | Fail |
| Sample text | 16.33:1 | Pass | Pass | Pass |
| #321338 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.33:1 | Pass | Pass | Pass |
| Sample text | 1.29: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 #321338 looks to people with the most common types of color vision deficiency.
#0c1e39Protanopia
no red cones#172137Deuteranopia
no green cones#321823Tritanopia
no blue cones#202020Achromatopsia
no color vision
CSS examples
.background { background-color: #321338; }
.text { color: #321338; }
.border { border: 2px solid #321338; }
.transparent { background-color: rgb(50 19 56 / 50%); }
.gradient { background: linear-gradient(to right, #321338, #38132c); }
Similar colors
#3b193fCreatures of the Night#2b0f2eDark Prom Queen#301934Dark Purple#391531Nightly Voyager#441144Velvet Cosmos#442244Purple Void#220022Black Sabbath#220033Coal Mine
Questions
- What color is #321338?
- #321338 is a very dark, desaturated magenta, closest to the named color Creatures of the Night. It belongs to the purple family of colors.
- What is the RGB value of #321338?
- The RGB value is 50, 19, 56: 50 red, 19 green and 56 blue on a 0 to 255 scale.
- What is the complementary color of #321338?
- The complementary color is #193813, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #321338?
- White text. Black text has a contrast ratio of 1.29:1 and white text 16.33:1. WCAG asks for at least 4.5:1 for normal text.