#320C8A color
The hex color #320C8A is a dark, vivid violet.
In the RGB color model it is made of 19.6% red, 4.7% green and 54.1% blue (50, 12, 138).
Its hue angle is 258°, with 84% saturation and 29% lightness. For print, the CMYK equivalent is 64% cyan, 91% magenta, 0% yellow and 46% black.
The closest named color is Nightly Expedition (#221188), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.5:1).
#320C8A color codes
| HEX | #320C8A | |
|---|---|---|
| RGB | rgb(50, 12, 138) | |
| RGB percent | rgb(19.6%, 4.7%, 54.1%) | |
| HSL | hsl(258, 84%, 29%) | |
| HSV / HSB | hsv(258, 91%, 54%) | |
| CMYK | cmyk(64%, 91%, 0%, 46%) | |
| CIE LAB | lab(19.12, 48.06, -60.69) | |
| CIE LCH | lch(19.12, 77.42, 308.38) | |
| CIE XYZ | xyz(6.033, 2.776, 24.258) | |
| Decimal | 3280010 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #320C8A, 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 #320C8A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.56:1 | Fail | Fail | Fail |
| Sample text | 13.5:1 | Pass | Pass | Pass |
| #320C8A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.5:1 | Pass | Pass | Pass |
| Sample text | 1.56: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 #320C8A looks to people with the most common types of color vision deficiency.
#00328dProtanopia
no red cones#002a88Deuteranopia
no green cones#003750Tritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #320c8a; }
.text { color: #320c8a; }
.border { border: 2px solid #320c8a; }
.transparent { background-color: rgb(50 12 138 / 50%); }
.gradient { background: linear-gradient(to right, #320c8a, #710c8a); }
Similar colors
#221188Nightly Expedition#301885Indiglow#240093Dramatic Blue#220088Orbital Kingdom#120a8fUltramarine#440099Space Battle Blue#111188Galactic Cruise#330077Galactic Federation
Questions
- What color is #320C8A?
- #320C8A is a dark, vivid violet, closest to the named color Nightly Expedition. It belongs to the purple family of colors.
- What is the RGB value of #320C8A?
- The RGB value is 50, 12, 138: 50 red, 12 green and 138 blue on a 0 to 255 scale.
- What is the complementary color of #320C8A?
- The complementary color is #648A0C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #320C8A?
- White text. Black text has a contrast ratio of 1.56:1 and white text 13.5:1. WCAG asks for at least 4.5:1 for normal text.