#3D216C color
The hex color #3D216C is a dark, moderate violet.
In the RGB color model it is made of 23.9% red, 12.9% green and 42.4% blue (61, 33, 108).
Its hue angle is 262°, with 53% saturation and 28% lightness. For print, the CMYK equivalent is 44% cyan, 69% magenta, 0% yellow and 58% black.
The closest named color is Dark Dreams (#332266), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.86:1).
#3D216C color codes
| HEX | #3D216C | |
|---|---|---|
| RGB | rgb(61, 33, 108) | |
| RGB percent | rgb(23.9%, 12.9%, 42.4%) | |
| HSL | hsl(262, 53%, 28%) | |
| HSV / HSB | hsv(262, 69%, 42%) | |
| CMYK | cmyk(44%, 69%, 0%, 58%) | |
| CIE LAB | lab(20.68, 31.38, -38.94) | |
| CIE LCH | lch(20.68, 50.01, 308.87) | |
| CIE XYZ | xyz(5.174, 3.162, 14.522) | |
| Decimal | 4006252 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3D216C, 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 #3D216C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.63:1 | Fail | Fail | Fail |
| Sample text | 12.86:1 | Pass | Pass | Pass |
| #3D216C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.86:1 | Pass | Pass | Pass |
| Sample text | 1.63: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 #3D216C looks to people with the most common types of color vision deficiency.
#00326eProtanopia
no red cones#00316aDeuteranopia
no green cones#313343Tritanopia
no blue cones#323232Achromatopsia
no color vision
CSS examples
.background { background-color: #3d216c; }
.text { color: #3d216c; }
.border { border: 2px solid #3d216c; }
.transparent { background-color: rgb(61 33 108 / 50%); }
.gradient { background: linear-gradient(to right, #3d216c, #62216c); }
Similar colors
#332266Dark Dreams#3a1f76Explorer of the Galaxies#442266Fading Horizon#332277Deep Space Rodeo#2e2364Indie Go#4b2c74Mystic Nights#432e6fHer Highness#341758Fabric of Space
Closest common color name: Midnight Blue.
Questions
- What color is #3D216C?
- #3D216C is a dark, moderate violet, closest to the named color Dark Dreams. It belongs to the purple family of colors.
- What is the RGB value of #3D216C?
- The RGB value is 61, 33, 108: 61 red, 33 green and 108 blue on a 0 to 255 scale.
- What is the complementary color of #3D216C?
- The complementary color is #506C21, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3D216C?
- White text. Black text has a contrast ratio of 1.63:1 and white text 12.86:1. WCAG asks for at least 4.5:1 for normal text.