#4A0788 color
The hex color #4A0788 is a dark, vivid violet.
In the RGB color model it is made of 29% red, 2.7% green and 53.3% blue (74, 7, 136).
Its hue angle is 271°, with 90% saturation and 28% lightness. For print, the CMYK equivalent is 46% cyan, 95% magenta, 0% yellow and 47% black.
The closest named color is Indigo Static (#4B0183), a difference of 1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.52:1).
#4A0788 color codes
| HEX | #4A0788 | |
|---|---|---|
| RGB | rgb(74, 7, 136) | |
| RGB percent | rgb(29%, 2.7%, 53.3%) | |
| HSL | hsl(271, 90%, 28%) | |
| HSV / HSB | hsv(271, 95%, 53%) | |
| CMYK | cmyk(46%, 95%, 0%, 47%) | |
| CIE LAB | lab(21.53, 51.2, -55.36) | |
| CIE LCH | lch(21.53, 75.41, 312.77) | |
| CIE XYZ | xyz(7.343, 3.385, 23.554) | |
| Decimal | 4851592 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4A0788, 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 #4A0788 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.68:1 | Fail | Fail | Fail |
| Sample text | 12.52:1 | Pass | Pass | Pass |
| #4A0788 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.52:1 | Pass | Pass | Pass |
| Sample text | 1.68: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 #4A0788 looks to people with the most common types of color vision deficiency.
#00348bProtanopia
no red cones#003286Deuteranopia
no green cones#3a334eTritanopia
no blue cones#343434Achromatopsia
no color vision
CSS examples
.background { background-color: #4a0788; }
.text { color: #4a0788; }
.border { border: 2px solid #4a0788; }
.transparent { background-color: rgb(74 7 136 / 50%); }
.gradient { background: linear-gradient(to right, #4a0788, #880786); }
Similar colors
#4b0183Indigo Static#4b0082Indigo#440099Space Battle Blue#4b1e87Occult#442288Galactic Civilization#330077Galactic Federation#5b1e8bIntergalactic Settlement#301885Indiglow
Questions
- What color is #4A0788?
- #4A0788 is a dark, vivid violet, closest to the named color Indigo Static. It belongs to the purple family of colors.
- What is the RGB value of #4A0788?
- The RGB value is 74, 7, 136: 74 red, 7 green and 136 blue on a 0 to 255 scale.
- What is the complementary color of #4A0788?
- The complementary color is #458807, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4A0788?
- White text. Black text has a contrast ratio of 1.68:1 and white text 12.52:1. WCAG asks for at least 4.5:1 for normal text.