#4C0097 color
The hex color #4C0097 is a dark, vivid violet.
In the RGB color model it is made of 29.8% red, 0% green and 59.2% blue (76, 0, 151).
Its hue angle is 270°, with 100% saturation and 30% lightness. For print, the CMYK equivalent is 50% cyan, 100% magenta, 0% yellow and 41% black.
The closest named color is Space Battle Blue (#440099), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.97:1).
#4C0097 color codes
| HEX | #4C0097 | |
|---|---|---|
| RGB | rgb(76, 0, 151) | |
| RGB percent | rgb(29.8%, 0%, 59.2%) | |
| HSL | hsl(270, 100%, 30%) | |
| HSV / HSB | hsv(270, 100%, 59%) | |
| CMYK | cmyk(50%, 100%, 0%, 41%) | |
| CIE LAB | lab(22.9, 56.5, -62.42) | |
| CIE LCH | lch(22.9, 84.19, 312.15) | |
| CIE XYZ | xyz(8.565, 3.771, 29.549) | |
| Decimal | 4980887 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4C0097, 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 #4C0097 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.75:1 | Fail | Fail | Fail |
| Sample text | 11.97:1 | Pass | Pass | Pass |
| #4C0097 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.97:1 | Pass | Pass | Pass |
| Sample text | 1.75: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 #4C0097 looks to people with the most common types of color vision deficiency.
#00389aProtanopia
no red cones#003495Deuteranopia
no green cones#353857Tritanopia
no blue cones#373737Achromatopsia
no color vision
CSS examples
.background { background-color: #4c0097; }
.text { color: #4c0097; }
.border { border: 2px solid #4c0097; }
.transparent { background-color: rgb(76 0 151 / 50%); }
.gradient { background: linear-gradient(to right, #4c0097, #970096); }
Similar colors
#440099Space Battle Blue#4b0183Indigo Static#4b0082Indigo#4b1e87Occult#442288Galactic Civilization#240093Dramatic Blue#5b1e8bIntergalactic Settlement#301885Indiglow
Questions
- What color is #4C0097?
- #4C0097 is a dark, vivid violet, closest to the named color Space Battle Blue. It belongs to the purple family of colors.
- What is the RGB value of #4C0097?
- The RGB value is 76, 0, 151: 76 red, 0 green and 151 blue on a 0 to 255 scale.
- What is the complementary color of #4C0097?
- The complementary color is #4B9700, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4C0097?
- White text. Black text has a contrast ratio of 1.75:1 and white text 11.97:1. WCAG asks for at least 4.5:1 for normal text.