#3D1796 color
The hex color #3D1796 is a dark, moderate violet.
In the RGB color model it is made of 23.9% red, 9% green and 58.8% blue (61, 23, 150).
Its hue angle is 258°, with 73% saturation and 34% lightness. For print, the CMYK equivalent is 59% cyan, 85% magenta, 0% yellow and 41% black.
The closest named color is Space Battle Blue (#440099), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.92:1).
#3D1796 color codes
| HEX | #3D1796 | |
|---|---|---|
| RGB | rgb(61, 23, 150) | |
| RGB percent | rgb(23.9%, 9%, 58.8%) | |
| HSL | hsl(258, 73%, 34%) | |
| HSV / HSB | hsv(258, 85%, 59%) | |
| CMYK | cmyk(59%, 85%, 0%, 41%) | |
| CIE LAB | lab(23.02, 48.48, -61.66) | |
| CIE LCH | lch(23.02, 78.43, 308.17) | |
| CIE XYZ | xyz(7.734, 3.806, 29.175) | |
| Decimal | 4003734 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3D1796, 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 #3D1796 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.76:1 | Fail | Fail | Fail |
| Sample text | 11.92:1 | Pass | Pass | Pass |
| #3D1796 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.92:1 | Pass | Pass | Pass |
| Sample text | 1.76: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 #3D1796 looks to people with the most common types of color vision deficiency.
#003a99Protanopia
no red cones#003394Deuteranopia
no green cones#0b3f59Tritanopia
no blue cones#373737Achromatopsia
no color vision
CSS examples
.background { background-color: #3d1796; }
.text { color: #3d1796; }
.border { border: 2px solid #3d1796; }
.transparent { background-color: rgb(61 23 150 / 50%); }
.gradient { background: linear-gradient(to right, #3d1796, #7d1796); }
Similar colors
#440099Space Battle Blue#312297Gentian Blue#301885Indiglow#442288Galactic Civilization#4b1e87Occult#221188Nightly Expedition#240093Dramatic Blue#0c1793Royal
Closest common color name: Ultramarine.
Questions
- What color is #3D1796?
- #3D1796 is a dark, moderate violet, closest to the named color Space Battle Blue. It belongs to the purple family of colors.
- What is the RGB value of #3D1796?
- The RGB value is 61, 23, 150: 61 red, 23 green and 150 blue on a 0 to 255 scale.
- What is the complementary color of #3D1796?
- The complementary color is #709617, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3D1796?
- White text. Black text has a contrast ratio of 1.76:1 and white text 11.92:1. WCAG asks for at least 4.5:1 for normal text.