#271434 color
The hex color #271434 is a very dark, desaturated violet.
In the RGB color model it is made of 15.3% red, 7.8% green and 20.4% blue (39, 20, 52).
Its hue angle is 276°, with 44% saturation and 14% lightness. For print, the CMYK equivalent is 25% cyan, 62% magenta, 0% yellow and 80% black.
The closest named color is Dark Prom Queen (#2B0F2E), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.99:1).
#271434 color codes
| HEX | #271434 | |
|---|---|---|
| RGB | rgb(39, 20, 52) | |
| RGB percent | rgb(15.3%, 7.8%, 20.4%) | |
| HSL | hsl(276, 44%, 14%) | |
| HSV / HSB | hsv(276, 62%, 20%) | |
| CMYK | cmyk(25%, 62%, 0%, 80%) | |
| CIE LAB | lab(10.41, 17.11, -17.37) | |
| CIE LCH | lch(10.41, 24.38, 314.57) | |
| CIE XYZ | xyz(1.707, 1.18, 3.386) | |
| Decimal | 2561076 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #271434, 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 #271434 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.24:1 | Fail | Fail | Fail |
| Sample text | 16.99:1 | Pass | Pass | Pass |
| #271434 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.99: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 #271434 looks to people with the most common types of color vision deficiency.
#0b1b35Protanopia
no red cones#111d33Deuteranopia
no green cones#251921Tritanopia
no blue cones#1c1c1cAchromatopsia
no color vision
CSS examples
.background { background-color: #271434; }
.text { color: #271434; }
.border { border: 2px solid #271434; }
.transparent { background-color: rgb(39 20 52 / 50%); }
.gradient { background: linear-gradient(to right, #271434, #341431); }
Similar colors
#2b0f2eDark Prom Queen#301934Dark Purple#1c0f33Midnight Monarch#3b193fCreatures of the Night#2a2243Midnight Velvet#220022Black Sabbath#220033Coal Mine#391531Nightly Voyager
Questions
- What color is #271434?
- #271434 is a very dark, desaturated violet, closest to the named color Dark Prom Queen. It belongs to the black family of colors.
- What is the RGB value of #271434?
- The RGB value is 39, 20, 52: 39 red, 20 green and 52 blue on a 0 to 255 scale.
- What is the complementary color of #271434?
- The complementary color is #213414, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #271434?
- White text. Black text has a contrast ratio of 1.24:1 and white text 16.99:1. WCAG asks for at least 4.5:1 for normal text.