#51008A color
The hex color #51008A is a dark, vivid violet.
In the RGB color model it is made of 31.8% red, 0% green and 54.1% blue (81, 0, 138).
Its hue angle is 275°, with 100% saturation and 27% lightness. For print, the CMYK equivalent is 41% cyan, 100% magenta, 0% yellow and 46% black.
The closest named color is Indigo Static (#4B0183), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.23:1).
#51008A color codes
| HEX | #51008A | |
|---|---|---|
| RGB | rgb(81, 0, 138) | |
| RGB percent | rgb(31.8%, 0%, 54.1%) | |
| HSL | hsl(275, 100%, 27%) | |
| HSV / HSB | hsv(275, 100%, 54%) | |
| CMYK | cmyk(41%, 100%, 0%, 46%) | |
| CIE LAB | lab(22.25, 54.08, -55.39) | |
| CIE LCH | lch(22.25, 77.41, 314.31) | |
| CIE XYZ | xyz(7.98, 3.584, 24.311) | |
| Decimal | 5308554 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #51008A, 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 #51008A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.72:1 | Fail | Fail | Fail |
| Sample text | 12.23:1 | Pass | Pass | Pass |
| #51008A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.23:1 | Pass | Pass | Pass |
| Sample text | 1.72: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 #51008A looks to people with the most common types of color vision deficiency.
#00348dProtanopia
no red cones#003588Deuteranopia
no green cones#44314fTritanopia
no blue cones#353535Achromatopsia
no color vision
CSS examples
.background { background-color: #51008a; }
.text { color: #51008a; }
.border { border: 2px solid #51008a; }
.transparent { background-color: rgb(81 0 138 / 50%); }
.gradient { background: linear-gradient(to right, #51008a, #8a007e); }
Similar colors
#4b0183Indigo Static#4b0082Indigo#440099Space Battle Blue#4b1e87Occult#5b1e8bIntergalactic Settlement#661188Extraviolet#442288Galactic Civilization#330077Galactic Federation
Questions
- What color is #51008A?
- #51008A 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 #51008A?
- The RGB value is 81, 0, 138: 81 red, 0 green and 138 blue on a 0 to 255 scale.
- What is the complementary color of #51008A?
- The complementary color is #398A00, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #51008A?
- White text. Black text has a contrast ratio of 1.72:1 and white text 12.23:1. WCAG asks for at least 4.5:1 for normal text.