Bastille

#271F28

General Information about #271F28

The hexadecimal color code #271F28 represents a dark, muted shade of purple. It is composed of 15.29% red, 12.16% green, and 15.69% blue. In the RGB color space, it's described as rgb(39, 31, 40). The color is often associated with feelings of sophistication, mystery, and depth. It's frequently utilized in designs where a sense of understated elegance is desired. Colors similar to #271F28 can be found in various natural settings, such as dark stones or deep night skies. When working with this color, complementary and contrasting colors can be used to create balance and visual interest. The hexadecimal system provides a standardized way to represent colors in digital applications, making it a versatile choice for web design, graphic design, and more.

The color #271F28, also known as Bastille, presents some accessibility challenges, particularly concerning color contrast. When used as a background color, it requires careful consideration of the foreground text color to ensure readability. According to WCAG guidelines, a contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text. Given the darkness of #271F28, lighter text colors such as white (#FFFFFF) or light grays are generally necessary to meet these contrast requirements. Tools like contrast checkers can assist in verifying compliance. Additionally, avoid using #271F28 for elements that rely solely on color to convey meaning, as this can exclude users with color vision deficiencies. Providing alternative visual cues, like text labels or icons, is crucial for inclusivity. When designing interactive elements, ensure sufficient contrast for hover, focus, and active states to aid users navigating with keyboards or other assistive technologies.

Shades

Digital Color Formats

RGB
39 31 40
RGB39 31 40
Red
Green
Blue
HSL
293.33 12.68% 13.92%
293.3312.6813.92HSL
Hue
Saturation
Lightness
HWB
293.33 12.16% 84.31%
293.3312.1684.31HWB
Hue
Whiteness
Blackness
hex#271F28
rgb39 31 40
hsl293.33 12.68% 13.92%
cmyk2.5% 22.5% 0% 84.31%
hwb293.33 12.16% 84.31%
xyz1.71 1.56 2.22
CMYK
2.5% 22.5% 0% 84.31%
2.522.5084.31CMYK
Cyan
Magenta
Yellow
Key
XYZ
1.71 1.56 2.22
1.711.562.22XYZ
X
Y
Z

Alternative colors

Applications

Complementary color

Buttons