#321A5D color
The hex color #321A5D is a dark, moderate violet.
In the RGB color model it is made of 19.6% red, 10.2% green and 36.5% blue (50, 26, 93).
Its hue angle is 261°, with 56% saturation and 23% lightness. For print, the CMYK equivalent is 46% cyan, 72% magenta, 0% yellow and 64% black.
The closest named color is Fabric of Space (#341758), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.57:1).
#321A5D color codes
| HEX | #321A5D | |
|---|---|---|
| RGB | rgb(50, 26, 93) | |
| RGB percent | rgb(19.6%, 10.2%, 36.5%) | |
| HSL | hsl(261, 56%, 23%) | |
| HSV / HSB | hsv(261, 72%, 36%) | |
| CMYK | cmyk(46%, 72%, 0%, 64%) | |
| CIE LAB | lab(16.54, 28.59, -35.87) | |
| CIE LCH | lch(16.54, 45.87, 308.56) | |
| CIE XYZ | xyz(3.66, 2.207, 10.587) | |
| Decimal | 3283549 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #321A5D, 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 #321A5D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.44:1 | Fail | Fail | Fail |
| Sample text | 14.57:1 | Pass | Pass | Pass |
| #321A5D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.57:1 | Pass | Pass | Pass |
| Sample text | 1.44: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 #321A5D looks to people with the most common types of color vision deficiency.
#00295fProtanopia
no red cones#00285cDeuteranopia
no green cones#262a39Tritanopia
no blue cones#292929Achromatopsia
no color vision
CSS examples
.background { background-color: #321a5d; }
.text { color: #321a5d; }
.border { border: 2px solid #321a5d; }
.transparent { background-color: rgb(50 26 93 / 50%); }
.gradient { background: linear-gradient(to right, #321a5d, #541a5d); }
Similar colors
#341758Fabric of Space#2d135fVoldemort#332266Dark Dreams#37115cWicked Purple#2f1064Infinite Inkwell#2e2364Indie Go#442266Fading Horizon#372354Stormy Night
Closest common color name: Midnight Blue.
Questions
- What color is #321A5D?
- #321A5D is a dark, moderate violet, closest to the named color Fabric of Space. It belongs to the purple family of colors.
- What is the RGB value of #321A5D?
- The RGB value is 50, 26, 93: 50 red, 26 green and 93 blue on a 0 to 255 scale.
- What is the complementary color of #321A5D?
- The complementary color is #455D1A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #321A5D?
- White text. Black text has a contrast ratio of 1.44:1 and white text 14.57:1. WCAG asks for at least 4.5:1 for normal text.