#281336 color
The hex color #281336 is a very dark, desaturated violet.
In the RGB color model it is made of 15.7% red, 7.5% green and 21.2% blue (40, 19, 54).
Its hue angle is 276°, with 48% saturation and 14% lightness. For print, the CMYK equivalent is 26% cyan, 65% magenta, 0% yellow and 79% black.
The closest named color is Midnight Monarch (#1C0F33), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.98:1).
#281336 color codes
| HEX | #281336 | |
|---|---|---|
| RGB | rgb(40, 19, 54) | |
| RGB percent | rgb(15.7%, 7.5%, 21.2%) | |
| HSL | hsl(276, 48%, 14%) | |
| HSV / HSB | hsv(276, 65%, 21%) | |
| CMYK | cmyk(26%, 65%, 0%, 79%) | |
| CIE LAB | lab(10.43, 18.69, -18.76) | |
| CIE LCH | lch(10.43, 26.48, 314.89) | |
| CIE XYZ | xyz(1.774, 1.183, 3.624) | |
| Decimal | 2626358 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #281336, 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 #281336 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.24:1 | Fail | Fail | Fail |
| Sample text | 16.98:1 | Pass | Pass | Pass |
| #281336 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 #281336 looks to people with the most common types of color vision deficiency.
#081b37Protanopia
no red cones#101d35Deuteranopia
no green cones#261922Tritanopia
no blue cones#1c1c1cAchromatopsia
no color vision
CSS examples
.background { background-color: #281336; }
.text { color: #281336; }
.border { border: 2px solid #281336; }
.transparent { background-color: rgb(40 19 54 / 50%); }
.gradient { background: linear-gradient(to right, #281336, #361333); }
Similar colors
#1c0f33Midnight Monarch#2b0f2eDark Prom Queen#301934Dark Purple#3b193fCreatures of the Night#220033Coal Mine#220022Black Sabbath#2a2243Midnight Velvet#160435Quiet Abyss
Questions
- What color is #281336?
- #281336 is a very dark, desaturated violet, closest to the named color Midnight Monarch. It belongs to the black family of colors.
- What is the RGB value of #281336?
- The RGB value is 40, 19, 54: 40 red, 19 green and 54 blue on a 0 to 255 scale.
- What is the complementary color of #281336?
- The complementary color is #213613, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #281336?
- 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.