Bastille

#282331

General Information about #282331

The hexadecimal color code #282331 represents a dark, muted shade of purple in the RGB color model. It's often described as a deep, shadowy color reminiscent of twilight or a dimly lit room. In terms of color composition, #282331 is composed of 15.69% red, 13.73% green, and 19.22% blue. This distribution of primary colors results in its distinctive purplish-gray hue. Colors similar to #282331 evoke feelings of sophistication, mystery, and introspection. Due to its dark nature, it's frequently used as a background or accent color in design projects aiming to create a sense of depth and elegance.

The color #282331, also known as Bastille, presents some accessibility challenges, especially concerning text contrast. When using this color as a background, it is crucial to select text colors that provide sufficient contrast to ensure readability for all users, including those with visual impairments. A contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text, as specified by the WCAG guidelines. Lighter shades of yellow, white, or light gray would generally work better as text on this background. Tools like WebAIM's Contrast Checker can help determine if the combination meets accessibility standards. Also, avoid using this color for essential UI elements without careful consideration of contrast. Using it for decorative elements might be acceptable if it doesn't impede usability. Always prioritize a user-centric approach to ensure inclusivity.

Shades

Digital Color Formats

RGB
40 35 49
RGB40 35 49
Red
Green
Blue
HSL
261.43 16.67% 16.47%
261.4316.6716.47HSL
Hue
Saturation
Lightness
HWB
261.43 13.73% 80.78%
261.4313.7380.78HWB
Hue
Whiteness
Blackness
hex#282331
rgb40 35 49
hsl261.43 16.67% 16.47%
cmyk18.37% 28.57% 0% 80.78%
hwb261.43 13.73% 80.78%
xyz-d650.02 0.02 0.03
oklch0.2679 0.0266 300.94
oklab0.2679 0.01 -0.02
CMYK
18.37% 28.57% 0% 80.78%
18.3728.57080.78CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.02 0.02 0.03
0.020.020.03XYZ
X
Y
Z
OKLCH
0.2679 0.0266 300.94
0.26790.0266300.94LCH
Lightness
Chroma
Hue
OKLAB
0.2679 0.01 -0.02
0.26790.01-0.02LAB
Lightness
Green–Red
Blue–Yellow

Alternative colors

Applications

Complementary color

Buttons