Recognised as Colour
#2A2231
- #2A2231
- Violet
- Dark
- Nearest: Black
#2A2231 is a violet with RGB values 42, 34, 49 and HSL 272°, 18%, 16%. It is a dark colour, so white text on it reaches 15.3:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#2A2231#2A2231
HEX#2A2231
RGBrgb(42, 34, 49)
RGB (0–1)0.1647, 0.1333, 0.1922
RGB percentages16.5%, 13.3%, 19.2%
HSLhsl(272, 18.1%, 16.3%)
HSV / HSBhsv(272, 30.6%, 19.2%)
CMYK14.3%, 30.6%, 0%, 80.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,761,265
CSS custom property--colour: #2A2231;
Brightness & contrast
Relative luminance0.01858WCAG 2.x, 0 is black and 1 is white
Perceived brightness38.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.31:1
Contrast with white15.31:1WCAG normal text: AAA
Contrast with black1.37:1WCAG normal text: Fail
Greyscale equivalent#252525
Inverted#D5DDCE
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.31:1WCAG large text: AAA
Contrast with black, large text1.37:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#293122
Analogous#222231, #312231
Triadic#312A22, #22312A
Split complementary#303122, #223122
Tetradic#312222, #293122, #223131
Tints, shades & saturation
Channel breakdown
R42
G34
B49
Red42 (16.5%)
Green34 (13.3%)
Blue49 (19.2%)
Hue272°
Saturation (HSL)18.07%
Lightness16.27%
Dominant channelBlue
Hex per channelR 2A · G 22 · B 31
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page