#280C48 color
The hex color #280C48 is a very dark, moderate violet.
In the RGB color model it is made of 15.7% red, 4.7% green and 28.2% blue (40, 12, 72).
Its hue angle is 268°, with 71% saturation and 16% lightness. For print, the CMYK equivalent is 44% cyan, 83% magenta, 0% yellow and 72% black.
The closest named color is Your Darkness (#220044), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.98:1).
#280C48 color codes
| HEX | #280C48 | |
|---|---|---|
| RGB | rgb(40, 12, 72) | |
| RGB percent | rgb(15.7%, 4.7%, 28.2%) | |
| HSL | hsl(268, 71%, 16%) | |
| HSV / HSB | hsv(268, 83%, 28%) | |
| CMYK | cmyk(44%, 83%, 0%, 72%) | |
| CIE LAB | lab(10.42, 28.08, -31.56) | |
| CIE LCH | lch(10.42, 42.25, 311.66) | |
| CIE XYZ | xyz(2.176, 1.182, 6.243) | |
| Decimal | 2624584 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #280C48, 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 #280C48 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.24:1 | Fail | Fail | Fail |
| Sample text | 16.98:1 | Pass | Pass | Pass |
| #280C48 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.98:1 | Pass | Pass | Pass |
| Sample text | 1.24: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 #280C48 looks to people with the most common types of color vision deficiency.
#001c4aProtanopia
no red cones#001c47Deuteranopia
no green cones#201c29Tritanopia
no blue cones#1c1c1cAchromatopsia
no color vision
CSS examples
.background { background-color: #280c48; }
.text { color: #280c48; }
.border { border: 2px solid #280c48; }
.transparent { background-color: rgb(40 12 72 / 50%); }
.gradient { background: linear-gradient(to right, #280c48, #460c48); }
Similar colors
#220044Your Darkness#341758Fabric of Space#37115cWicked Purple#330055Hollow Knight#2d135fVoldemort#220033Coal Mine#340059Cotinga Purple#160435Quiet Abyss
Closest common color name: Midnight Blue.
Questions
- What color is #280C48?
- #280C48 is a very dark, moderate violet, closest to the named color Your Darkness. It belongs to the black family of colors.
- What is the RGB value of #280C48?
- The RGB value is 40, 12, 72: 40 red, 12 green and 72 blue on a 0 to 255 scale.
- What is the complementary color of #280C48?
- The complementary color is #2C480C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #280C48?
- White text. Black text has a contrast ratio of 1.24:1 and white text 16.98:1. WCAG asks for at least 4.5:1 for normal text.