#3E1F61 color
The hex color #3E1F61 is a dark, moderate violet.
In the RGB color model it is made of 24.3% red, 12.2% green and 38% blue (62, 31, 97).
Its hue angle is 268°, with 52% saturation and 25% lightness. For print, the CMYK equivalent is 36% cyan, 68% magenta, 0% yellow and 62% black.
The closest named color is Fading Horizon (#442266), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.35:1).
#3E1F61 color codes
| HEX | #3E1F61 | |
|---|---|---|
| RGB | rgb(62, 31, 97) | |
| RGB percent | rgb(24.3%, 12.2%, 38%) | |
| HSL | hsl(268, 52%, 25%) | |
| HSV / HSB | hsv(268, 68%, 38%) | |
| CMYK | cmyk(36%, 68%, 0%, 62%) | |
| CIE LAB | lab(19.5, 29.62, -33.64) | |
| CIE LCH | lch(19.5, 44.83, 311.36) | |
| CIE XYZ | xyz(4.634, 2.867, 11.616) | |
| Decimal | 4071265 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3E1F61, 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 #3E1F61 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.57:1 | Fail | Fail | Fail |
| Sample text | 13.35:1 | Pass | Pass | Pass |
| #3E1F61 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.35:1 | Pass | Pass | Pass |
| Sample text | 1.57: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 #3E1F61 looks to people with the most common types of color vision deficiency.
#002f63Protanopia
no red cones#072f60Deuteranopia
no green cones#372d3dTritanopia
no blue cones#2f2f2fAchromatopsia
no color vision
CSS examples
.background { background-color: #3e1f61; }
.text { color: #3e1f61; }
.border { border: 2px solid #3e1f61; }
.transparent { background-color: rgb(62 31 97 / 50%); }
.gradient { background: linear-gradient(to right, #3e1f61, #5f1f61); }
Similar colors
#442266Fading Horizon#341758Fabric of Space#332266Dark Dreams#37115cWicked Purple#372354Stormy Night#431c53Plunged Into Darkness#2d135fVoldemort#432e6fHer Highness
Closest common color name: Midnight Blue.
Questions
- What color is #3E1F61?
- #3E1F61 is a dark, moderate violet, closest to the named color Fading Horizon. It belongs to the purple family of colors.
- What is the RGB value of #3E1F61?
- The RGB value is 62, 31, 97: 62 red, 31 green and 97 blue on a 0 to 255 scale.
- What is the complementary color of #3E1F61?
- The complementary color is #42611F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3E1F61?
- White text. Black text has a contrast ratio of 1.57:1 and white text 13.35:1. WCAG asks for at least 4.5:1 for normal text.