#271B45 color
The hex color #271B45 is a very dark, desaturated violet.
In the RGB color model it is made of 15.3% red, 10.6% green and 27.1% blue (39, 27, 69).
Its hue angle is 257°, with 44% saturation and 19% lightness. For print, the CMYK equivalent is 43% cyan, 61% magenta, 0% yellow and 73% black.
The closest named color is Azulado (#211D49), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.8:1).
#271B45 color codes
| HEX | #271B45 | |
|---|---|---|
| RGB | rgb(39, 27, 69) | |
| RGB percent | rgb(15.3%, 10.6%, 27.1%) | |
| HSL | hsl(257, 44%, 19%) | |
| HSV / HSB | hsv(257, 61%, 27%) | |
| CMYK | cmyk(43%, 61%, 0%, 73%) | |
| CIE LAB | lab(13.5, 17.52, -24.5) | |
| CIE LCH | lch(13.5, 30.12, 305.57) | |
| CIE XYZ | xyz(2.303, 1.645, 5.825) | |
| Decimal | 2562885 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #271B45, 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 #271B45 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.33:1 | Fail | Fail | Fail |
| Sample text | 15.8:1 | Pass | Pass | Pass |
| #271B45 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.8:1 | Pass | Pass | Pass |
| Sample text | 1.33: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 #271B45 looks to people with the most common types of color vision deficiency.
#082346Protanopia
no red cones#0b2244Deuteranopia
no green cones#1f242dTritanopia
no blue cones#232323Achromatopsia
no color vision
CSS examples
.background { background-color: #271b45; }
.text { color: #271b45; }
.border { border: 2px solid #271b45; }
.transparent { background-color: rgb(39 27 69 / 50%); }
.gradient { background: linear-gradient(to right, #271b45, #3c1b45); }
Similar colors
#211d49Azulado#231c4dSilent Orbit#2a2243Midnight Velvet#2a2551Pāua#372354Stormy Night#1c1e4dFly-by-Night#1c0f33Midnight Monarch#222244Black Market
Closest common color name: Dark Purple.
Questions
- What color is #271B45?
- #271B45 is a very dark, desaturated violet, closest to the named color Azulado. It belongs to the purple family of colors.
- What is the RGB value of #271B45?
- The RGB value is 39, 27, 69: 39 red, 27 green and 69 blue on a 0 to 255 scale.
- What is the complementary color of #271B45?
- The complementary color is #39451B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #271B45?
- White text. Black text has a contrast ratio of 1.33:1 and white text 15.8:1. WCAG asks for at least 4.5:1 for normal text.