#3C226E color
The hex color #3C226E is a dark, moderate violet.
In the RGB color model it is made of 23.5% red, 13.3% green and 43.1% blue (60, 34, 110).
Its hue angle is 261°, with 53% saturation and 28% lightness. For print, the CMYK equivalent is 45% cyan, 69% magenta, 0% yellow and 57% 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 12.76:1).
#3C226E color codes
| HEX | #3C226E | |
|---|---|---|
| RGB | rgb(60, 34, 110) | |
| RGB percent | rgb(23.5%, 13.3%, 43.1%) | |
| HSL | hsl(261, 53%, 28%) | |
| HSV / HSB | hsv(261, 69%, 43%) | |
| CMYK | cmyk(45%, 69%, 0%, 57%) | |
| CIE LAB | lab(20.94, 31.17, -39.82) | |
| CIE LCH | lch(20.94, 50.57, 308.05) | |
| CIE XYZ | xyz(5.249, 3.23, 15.096) | |
| Decimal | 3940974 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3C226E, 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 #3C226E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.65:1 | Fail | Fail | Fail |
| Sample text | 12.76:1 | Pass | Pass | Pass |
| #3C226E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.76:1 | Pass | Pass | Pass |
| Sample text | 1.65: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 #3C226E looks to people with the most common types of color vision deficiency.
#003370Protanopia
no red cones#00316cDeuteranopia
no green cones#2e3445Tritanopia
no blue cones#323232Achromatopsia
no color vision
CSS examples
.background { background-color: #3c226e; }
.text { color: #3c226e; }
.border { border: 2px solid #3c226e; }
.transparent { background-color: rgb(60 34 110 / 50%); }
.gradient { background: linear-gradient(to right, #3c226e, #62226e); }
Similar colors
#3a1f76Explorer of the Galaxies#332266Dark Dreams#332277Deep Space Rodeo#442266Fading Horizon#2e2364Indie Go#432e6fHer Highness#4b2c74Mystic Nights#2d135fVoldemort
Closest common color name: Midnight Blue.
Questions
- What color is #3C226E?
- #3C226E 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 #3C226E?
- The RGB value is 60, 34, 110: 60 red, 34 green and 110 blue on a 0 to 255 scale.
- What is the complementary color of #3C226E?
- The complementary color is #546E22, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3C226E?
- White text. Black text has a contrast ratio of 1.65:1 and white text 12.76:1. WCAG asks for at least 4.5:1 for normal text.