#27174A color
The hex color #27174A is a very dark, moderate violet.
In the RGB color model it is made of 15.3% red, 9% green and 29% blue (39, 23, 74).
Its hue angle is 259°, with 53% saturation and 19% lightness. For print, the CMYK equivalent is 47% cyan, 69% magenta, 0% yellow and 71% black.
The closest named color is Silent Orbit (#231C4D), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.06:1).
#27174A color codes
| HEX | #27174A | |
|---|---|---|
| RGB | rgb(39, 23, 74) | |
| RGB percent | rgb(15.3%, 9%, 29%) | |
| HSL | hsl(259, 53%, 19%) | |
| HSV / HSB | hsv(259, 69%, 29%) | |
| CMYK | cmyk(47%, 69%, 0%, 71%) | |
| CIE LAB | lab(12.85, 21.9, -29.02) | |
| CIE LCH | lch(12.85, 36.35, 307.04) | |
| CIE XYZ | xyz(2.379, 1.538, 6.649) | |
| Decimal | 2561866 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #27174A, 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 #27174A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.31:1 | Fail | Fail | Fail |
| Sample text | 16.06:1 | Pass | Pass | Pass |
| #27174A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.06:1 | Pass | Pass | Pass |
| Sample text | 1.31: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 #27174A looks to people with the most common types of color vision deficiency.
#00224cProtanopia
no red cones#002049Deuteranopia
no green cones#1d232eTritanopia
no blue cones#212121Achromatopsia
no color vision
CSS examples
.background { background-color: #27174a; }
.text { color: #27174a; }
.border { border: 2px solid #27174a; }
.transparent { background-color: rgb(39 23 74 / 50%); }
.gradient { background: linear-gradient(to right, #27174a, #40174a); }
Similar colors
#231c4dSilent Orbit#211d49Azulado#341758Fabric of Space#372354Stormy Night#111144Deadly Depths#1c1e4dFly-by-Night#2a2551Pāua#222255Spacescape
Closest common color name: Midnight Blue.
Questions
- What color is #27174A?
- #27174A is a very dark, moderate violet, closest to the named color Silent Orbit. It belongs to the purple family of colors.
- What is the RGB value of #27174A?
- The RGB value is 39, 23, 74: 39 red, 23 green and 74 blue on a 0 to 255 scale.
- What is the complementary color of #27174A?
- The complementary color is #3A4A17, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #27174A?
- White text. Black text has a contrast ratio of 1.31:1 and white text 16.06:1. WCAG asks for at least 4.5:1 for normal text.