#3A175E color

#3A175E rgb(58, 23, 94)
Shades of purple

The hex color #3A175E is a dark, moderate violet.

In the RGB color model it is made of 22.7% red, 9% green and 36.9% blue (58, 23, 94).

Its hue angle is 270°, with 61% saturation and 23% lightness. For print, the CMYK equivalent is 38% cyan, 76% magenta, 0% yellow and 63% black.

The closest named color is Wicked Purple (#37115C), a difference of 1.3 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 14.34:1).

#3A175E color codes

HEX#3A175E
RGBrgb(58, 23, 94)
RGB percentrgb(22.7%, 9%, 36.9%)
HSLhsl(270, 61%, 23%)
HSV / HSBhsv(270, 76%, 37%)
CMYKcmyk(38%, 76%, 0%, 63%)
CIE LABlab(17.09, 32.33, -35.59)
CIE LCHlch(17.09, 48.09, 312.25)
CIE XYZxyz(4.071, 2.32, 10.821)
Decimal3807070
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #3A175E, 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 #3A175ERatioAAAAAAA large
Sample text1.46:1FailFailFail
Sample text14.34:1PassPassPass
#3A175E as text onRatioAAAAAAA large
Sample text14.34:1PassPassPass
Sample text1.46: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 #3A175E looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #3a175e; }
.text { color: #3a175e; }
.border { border: 2px solid #3a175e; }
.transparent { background-color: rgb(58 23 94 / 50%); }
.gradient { background: linear-gradient(to right, #3a175e, #5e175e); }
Background
Text color
Border

Similar colors

Closest common color name: Midnight Blue.

Questions

What color is #3A175E?
#3A175E is a dark, moderate violet, closest to the named color Wicked Purple. It belongs to the purple family of colors.
What is the RGB value of #3A175E?
The RGB value is 58, 23, 94: 58 red, 23 green and 94 blue on a 0 to 255 scale.
What is the complementary color of #3A175E?
The complementary color is #3B5E17, found by rotating the hue 180° on the color wheel.
Is black or white text better on #3A175E?
White text. Black text has a contrast ratio of 1.46:1 and white text 14.34:1. WCAG asks for at least 4.5:1 for normal text.