#3A3063 color
The hex color #3A3063 is a dark, desaturated violet.
In the RGB color model it is made of 22.7% red, 18.8% green and 38.8% blue (58, 48, 99).
Its hue angle is 252°, with 35% saturation and 29% lightness. For print, the CMYK equivalent is 41% cyan, 52% magenta, 0% yellow and 61% black.
The closest named color is Purple Noir (#322C56), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.78:1).
#3A3063 color codes
| HEX | #3A3063 | |
|---|---|---|
| RGB | rgb(58, 48, 99) | |
| RGB percent | rgb(22.7%, 18.8%, 38.8%) | |
| HSL | hsl(252, 35%, 29%) | |
| HSV / HSB | hsv(252, 52%, 39%) | |
| CMYK | cmyk(41%, 52%, 0%, 61%) | |
| CIE LAB | lab(23.39, 18.25, -28.75) | |
| CIE LCH | lch(23.39, 34.05, 302.4) | |
| CIE XYZ | xyz(5.053, 3.914, 12.291) | |
| Decimal | 3813475 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3A3063, 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 #3A3063 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.78:1 | Fail | Fail | Fail |
| Sample text | 11.78:1 | Pass | Pass | Pass |
| #3A3063 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.78:1 | Pass | Pass | Pass |
| Sample text | 1.78: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 #3A3063 looks to people with the most common types of color vision deficiency.
#1d3965Protanopia
no red cones#1d3762Deuteranopia
no green cones#2f3a44Tritanopia
no blue cones#383838Achromatopsia
no color vision
CSS examples
.background { background-color: #3a3063; }
.text { color: #3a3063; }
.border { border: 2px solid #3a3063; }
.transparent { background-color: rgb(58 48 99 / 50%); }
.gradient { background: linear-gradient(to right, #3a3063, #543063); }
Similar colors
#322c56Purple Noir#2e305eGalaxea#432e6fHer Highness#2c2c57Deep Sea Base#372d52Midnight Pie#4a3b6aMeteorite#2a2551Pāua#372354Stormy Night
Closest common color name: Dark Slate Blue.
Questions
- What color is #3A3063?
- #3A3063 is a dark, desaturated violet, closest to the named color Purple Noir. It belongs to the blue family of colors.
- What is the RGB value of #3A3063?
- The RGB value is 58, 48, 99: 58 red, 48 green and 99 blue on a 0 to 255 scale.
- What is the complementary color of #3A3063?
- The complementary color is #596330, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3A3063?
- White text. Black text has a contrast ratio of 1.78:1 and white text 11.78:1. WCAG asks for at least 4.5:1 for normal text.