#3A1B6C color
The hex color #3A1B6C is a dark, moderate violet.
In the RGB color model it is made of 22.7% red, 10.6% green and 42.4% blue (58, 27, 108).
Its hue angle is 263°, with 60% saturation and 26% lightness. For print, the CMYK equivalent is 46% cyan, 75% magenta, 0% yellow and 58% black.
The closest named color is Explorer of the Galaxies (#3A1F76), a difference of 2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.52:1).
#3A1B6C color codes
| HEX | #3A1B6C | |
|---|---|---|
| RGB | rgb(58, 27, 108) | |
| RGB percent | rgb(22.7%, 10.6%, 42.4%) | |
| HSL | hsl(263, 60%, 26%) | |
| HSV / HSB | hsv(263, 75%, 42%) | |
| CMYK | cmyk(46%, 75%, 0%, 58%) | |
| CIE LAB | lab(19.08, 34.15, -41.56) | |
| CIE LCH | lch(19.08, 53.79, 309.41) | |
| CIE XYZ | xyz(4.843, 2.766, 14.463) | |
| Decimal | 3808108 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3A1B6C, 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 #3A1B6C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.55:1 | Fail | Fail | Fail |
| Sample text | 13.52:1 | Pass | Pass | Pass |
| #3A1B6C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.52:1 | Pass | Pass | Pass |
| Sample text | 1.55: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 #3A1B6C looks to people with the most common types of color vision deficiency.
#002f6eProtanopia
no red cones#002d6aDeuteranopia
no green cones#2c3041Tritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #3a1b6c; }
.text { color: #3a1b6c; }
.border { border: 2px solid #3a1b6c; }
.transparent { background-color: rgb(58 27 108 / 50%); }
.gradient { background: linear-gradient(to right, #3a1b6c, #621b6c); }
Similar colors
#3a1f76Explorer of the Galaxies#2f1064Infinite Inkwell#332266Dark Dreams#2d135fVoldemort#332277Deep Space Rodeo#37115cWicked Purple#442266Fading Horizon#341758Fabric of Space
Closest common color name: Midnight Blue.
Questions
- What color is #3A1B6C?
- #3A1B6C is a dark, moderate violet, closest to the named color Explorer of the Galaxies. It belongs to the purple family of colors.
- What is the RGB value of #3A1B6C?
- The RGB value is 58, 27, 108: 58 red, 27 green and 108 blue on a 0 to 255 scale.
- What is the complementary color of #3A1B6C?
- The complementary color is #4D6C1B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3A1B6C?
- White text. Black text has a contrast ratio of 1.55:1 and white text 13.52:1. WCAG asks for at least 4.5:1 for normal text.