#320C8A color

#320C8A rgb(50, 12, 138)
Shades of purple

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
RGBrgb(50, 12, 138)
RGB percentrgb(19.6%, 4.7%, 54.1%)
HSLhsl(258, 84%, 29%)
HSV / HSBhsv(258, 91%, 54%)
CMYKcmyk(64%, 91%, 0%, 46%)
CIE LABlab(19.12, 48.06, -60.69)
CIE LCHlch(19.12, 77.42, 308.38)
CIE XYZxyz(6.033, 2.776, 24.258)
Decimal3280010
Short hexNone (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 #320C8ARatioAAAAAAA large
Sample text1.56:1FailFailFail
Sample text13.5:1PassPassPass
#320C8A as text onRatioAAAAAAA large
Sample text13.5:1PassPassPass
Sample text1.56:1FailFailFail

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.

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); }
Background
Text color
Border

Similar colors

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.