Bastille

#2A1A29

General Information about #2A1A29

The hexadecimal color code #2A1A29, often referred to as "Bastille", is a dark, muted shade of purple. It's composed of 16.47% red, 10.2% green, and 16.08% blue. In the RGB color space, it is defined as (42, 26, 41). The color is most commonly seen in situations where a dark, luxurious color palette is desired. In a CMYK color space, where colors are created by mixing cyan, magenta, yellow, and black inks, #2A1A29 is composed of 0% cyan, 38.1% magenta, 2.4% yellow, and 83.5% black. Colors similar to this, with low saturation, are often associated with elegance and sophistication, making it suitable for various design projects requiring a touch of class and somber elegance. The perception of this color may vary slightly depending on the display and lighting conditions.

The color #2A1A29, also known as Bastille, presents some accessibility challenges, especially concerning color contrast. When using this color for text or interactive elements, it's crucial to ensure sufficient contrast against the background. 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 AA compliance. For AAA compliance, these ratios increase to 7:1 and 4.5:1, respectively. Given the darkness of #2A1A29, lighter colors should be used for text or interactive elements placed on this background to meet accessibility standards. Tools such as WebAIM's contrast checker can be invaluable for verifying adequate contrast. Employing sufficient contrast ensures that users with visual impairments, including those with low vision or color blindness, can perceive content effectively. Also, consider providing alternative visual cues, such as icons or text decorations, to enhance usability for all users.

Shades

Digital Color Formats

RGB
42 26 41
RGB42 26 41
Red
Green
Blue
HSL
303.75 23.53% 13.33%
303.7523.5313.33HSL
Hue
Saturation
Lightness
HWB
303.75 10.2% 83.53%
303.7510.283.53HWB
Hue
Whiteness
Blackness
hex#2A1A29
rgb42 26 41
hsl303.75 23.53% 13.33%
cmyk0% 38.1% 2.38% 83.53%
hwb303.75 10.2% 83.53%
xyz-d650.02 0.01 0.02
oklch0.2449 0.0364 328.72
oklab0.2449 0.03 -0.02
CMYK
0% 38.1% 2.38% 83.53%
038.12.3883.53CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.02 0.01 0.02
0.020.010.02XYZ
X
Y
Z
OKLCH
0.2449 0.0364 328.72
0.24490.0364328.72LCH
Lightness
Chroma
Hue
OKLAB
0.2449 0.03 -0.02
0.24490.03-0.02LAB
Lightness
Green–Red
Blue–Yellow

Alternative colors

Applications

Complementary color

Buttons