#4C0898 color
The hex color #4C0898 is a dark, vivid violet.
In the RGB color model it is made of 29.8% red, 3.1% green and 59.6% blue (76, 8, 152).
Its hue angle is 268°, with 90% saturation and 31% lightness. For print, the CMYK equivalent is 50% cyan, 95% magenta, 0% yellow and 40% black.
The closest named color is Space Battle Blue (#440099), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.7:1).
#4C0898 color codes
| HEX | #4C0898 | |
|---|---|---|
| RGB | rgb(76, 8, 152) | |
| RGB percent | rgb(29.8%, 3.1%, 59.6%) | |
| HSL | hsl(268, 90%, 31%) | |
| HSV / HSB | hsv(268, 95%, 60%) | |
| CMYK | cmyk(50%, 95%, 0%, 40%) | |
| CIE LAB | lab(23.59, 54.95, -61.89) | |
| CIE LCH | lch(23.59, 82.76, 311.61) | |
| CIE XYZ | xyz(8.733, 3.977, 30.007) | |
| Decimal | 4982936 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4C0898, 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 #4C0898 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.8:1 | Fail | Fail | Fail |
| Sample text | 11.7:1 | Pass | Pass | Pass |
| #4C0898 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.7:1 | Pass | Pass | Pass |
| Sample text | 1.8: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 #4C0898 looks to people with the most common types of color vision deficiency.
#00399bProtanopia
no red cones#003696Deuteranopia
no green cones#343a58Tritanopia
no blue cones#383838Achromatopsia
no color vision
CSS examples
.background { background-color: #4c0898; }
.text { color: #4c0898; }
.border { border: 2px solid #4c0898; }
.transparent { background-color: rgb(76 8 152 / 50%); }
.gradient { background: linear-gradient(to right, #4c0898, #940898); }
Similar colors
#440099Space Battle Blue#4b0183Indigo Static#4b0082Indigo#4b1e87Occult#442288Galactic Civilization#5b1e8bIntergalactic Settlement#301885Indiglow#63209bWild Violet
Questions
- What color is #4C0898?
- #4C0898 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 #4C0898?
- The RGB value is 76, 8, 152: 76 red, 8 green and 152 blue on a 0 to 255 scale.
- What is the complementary color of #4C0898?
- The complementary color is #549808, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4C0898?
- White text. Black text has a contrast ratio of 1.8:1 and white text 11.7:1. WCAG asks for at least 4.5:1 for normal text.