Revolver

#2A1A30

General Information about #2A1A30

The hex color code #2A1A30, also known as 'Revolver,' is a dark, subdued shade of purple. It is composed of 16.5% red, 10.2% green, and 18.8% blue. In the RGB color space, it has values of R:42, G:26, and B:48. This color is often associated with sophistication, mystery, and depth. Its relative darkness gives it a formal and elegant appearance. In the CMYK color model, used primarily in printing, its composition is Cyan: 12.5%, Magenta: 45.8%, Yellow: 0%, and Black: 81.2%. This indicates that it contains a significant amount of magenta, contributing to its purplish hue. Because of its dark nature, #2A1A30 is best used with light or contrasting colors to ensure readability and visual appeal.

The hex color #2A1A30, also known as Revolver, presents several accessibility challenges, particularly in text-based applications. Its low luminance value (dark shade) means that it requires very light text to ensure sufficient contrast for readability. According to WCAG guidelines, a contrast ratio of at least 4.5:1 is recommended for standard text and 3:1 for large text. Using white text (#FFFFFF) on a #2A1A30 background yields a reasonable contrast ratio, but careful consideration must be given to font size and weight. Avoid pairing it with other dark colors or shades of gray, as this can lead to poor visibility for users, especially those with visual impairments. When using this color for interactive elements like buttons or links, ensure that hover and focus states provide clear visual cues with adequate contrast to indicate interactivity. Providing alternative high-contrast themes can significantly improve the accessibility of a website or application using this color.

Shades

Digital Color Formats

RGB
42 26 48
RGB42 26 48
Red
Green
Blue
HSL
283.64 29.73% 14.51%
283.6429.7314.51HSL
Hue
Saturation
Lightness
HWB
283.64 10.2% 81.18%
283.6410.281.18HWB
Hue
Whiteness
Blackness
hex#2A1A30
rgb42 26 48
hsl283.64 29.73% 14.51%
cmyk12.5% 45.83% 0% 81.18%
hwb283.64 10.2% 81.18%
xyz-d650.02 0.01 0.03
oklch0.2487 0.0461 316.44
oklab0.2487 0.03 -0.03
CMYK
12.5% 45.83% 0% 81.18%
12.545.83081.18CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.02 0.01 0.03
0.020.010.03XYZ
X
Y
Z
OKLCH
0.2487 0.0461 316.44
0.24870.0461316.44LCH
Lightness
Chroma
Hue
OKLAB
0.2487 0.03 -0.03
0.24870.03-0.03LAB
Lightness
Green–Red
Blue–Yellow

Alternative colors

Applications

Complementary color

Buttons