Bastille

#2A1A28

General Information about #2A1A28

The hexadecimal color code #2A1A28, also known as Bastille, is a dark, muted shade that resides in the realm of purples and grays. It is composed of 16.47% red, 10.2% green, and 15.69% blue. In the RGB color space, it represents a relatively subdued color profile. Converting it to CMYK, it comprises 37.04% cyan, 63.7% magenta, 0% yellow, and 83.53% black. This suggests that Bastille is primarily a combination of cyan, magenta, and black inks in printing applications. It is often associated with elegance, mystery, and sophistication. The Bastille hex code is useful in various design applications, spanning from web to graphic design projects where a dark and refined color is needed. This color is rarely found in nature and can be perceived as artificial.

The hex color #2A1A28, often referred to as Bastille, presents certain accessibility challenges due to its dark nature. When used as a background color, it requires light-colored text to ensure sufficient contrast for readability. According to WCAG guidelines, the contrast ratio between text and background should be at least 4.5:1 for normal text and 3:1 for large text to meet Level AA compliance. Using tools like contrast checkers is crucial to verify that the chosen text color provides adequate contrast. For users with visual impairments, including those with low vision or color blindness, insufficient contrast can make content difficult or impossible to perceive. Therefore, careful consideration of text and background color combinations is essential to create inclusive and accessible web designs. Avoid pairing #2A1A28 with other dark colors, and always test combinations thoroughly.

Shades

Digital Color Formats

RGB
42 26 40
RGB42 26 40
Red
Green
Blue
HSL
307.5 23.53% 13.33%
307.523.5313.33HSL
Hue
Saturation
Lightness
HWB
307.5 10.2% 83.53%
307.510.283.53HWB
Hue
Whiteness
Blackness
hex#2A1A28
rgb42 26 40
hsl307.5 23.53% 13.33%
cmyk0% 38.1% 4.76% 83.53%
hwb307.5 10.2% 83.53%
xyz-d650.02 0.01 0.02
oklch0.2444 0.0351 330.98
oklab0.2444 0.03 -0.02
CMYK
0% 38.1% 4.76% 83.53%
038.14.7683.53CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.02 0.01 0.02
0.020.010.02XYZ
X
Y
Z
OKLCH
0.2444 0.0351 330.98
0.24440.0351330.98LCH
Lightness
Chroma
Hue
OKLAB
0.2444 0.03 -0.02
0.24440.03-0.02LAB
Lightness
Green–Red
Blue–Yellow

Alternative colors

Applications

Complementary color

Buttons