#3A175E color
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 | |
|---|---|---|
| RGB | rgb(58, 23, 94) | |
| RGB percent | rgb(22.7%, 9%, 36.9%) | |
| HSL | hsl(270, 61%, 23%) | |
| HSV / HSB | hsv(270, 76%, 37%) | |
| CMYK | cmyk(38%, 76%, 0%, 63%) | |
| CIE LAB | lab(17.09, 32.33, -35.59) | |
| CIE LCH | lch(17.09, 48.09, 312.25) | |
| CIE XYZ | xyz(4.071, 2.32, 10.821) | |
| Decimal | 3807070 | |
| Short hex | None (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 #3A175E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.46:1 | Fail | Fail | Fail |
| Sample text | 14.34:1 | Pass | Pass | Pass |
| #3A175E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.34:1 | Pass | Pass | Pass |
| Sample text | 1.46: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 #3A175E looks to people with the most common types of color vision deficiency.
#002a60Protanopia
no red cones#002a5dDeuteranopia
no green cones#322838Tritanopia
no blue cones#2a2a2aAchromatopsia
no color vision
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); }
Similar colors
#37115cWicked Purple#341758Fabric of Space#2d135fVoldemort#442266Fading Horizon#2f1064Infinite Inkwell#332266Dark Dreams#340059Cotinga Purple#330055Hollow Knight
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.