#380080 color
The hex color #380080 is a dark, vivid violet.
In the RGB color model it is made of 22% red, 0% green and 50.2% blue (56, 0, 128).
Its hue angle is 266°, with 100% saturation and 25% lightness. For print, the CMYK equivalent is 56% cyan, 100% magenta, 0% yellow and 50% black.
The closest named color is Galactic Federation (#330077), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.19:1).
#380080 color codes
| HEX | #380080 | |
|---|---|---|
| RGB | rgb(56, 0, 128) | |
| RGB percent | rgb(22%, 0%, 50.2%) | |
| HSL | hsl(266, 100%, 25%) | |
| HSV / HSB | hsv(266, 100%, 50%) | |
| CMYK | cmyk(56%, 100%, 0%, 50%) | |
| CIE LAB | lab(17.46, 49.49, -57.11) | |
| CIE LCH | lch(17.46, 75.58, 310.91) | |
| CIE XYZ | xyz(5.526, 2.399, 20.59) | |
| Decimal | 3670144 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #380080, 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 #380080 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.48:1 | Fail | Fail | Fail |
| Sample text | 14.19:1 | Pass | Pass | Pass |
| #380080 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.19:1 | Pass | Pass | Pass |
| Sample text | 1.48: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 #380080 looks to people with the most common types of color vision deficiency.
#002d83Protanopia
no red cones#00287eDeuteranopia
no green cones#1b2f49Tritanopia
no blue cones#2b2b2bAchromatopsia
no color vision
CSS examples
.background { background-color: #380080; }
.text { color: #380080; }
.border { border: 2px solid #380080; }
.transparent { background-color: rgb(56 0 128 / 50%); }
.gradient { background: linear-gradient(to right, #380080, #780080); }
Similar colors
#330077Galactic Federation#220088Orbital Kingdom#220077Child of the Night#4b0183Indigo Static#4b0082Indigo#240093Dramatic Blue#301885Indiglow#221188Nightly Expedition
Questions
- What color is #380080?
- #380080 is a dark, vivid violet, closest to the named color Galactic Federation. It belongs to the purple family of colors.
- What is the RGB value of #380080?
- The RGB value is 56, 0, 128: 56 red, 0 green and 128 blue on a 0 to 255 scale.
- What is the complementary color of #380080?
- The complementary color is #488000, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #380080?
- White text. Black text has a contrast ratio of 1.48:1 and white text 14.19:1. WCAG asks for at least 4.5:1 for normal text.