Recognised as Colour
#2A2138
- #2A2138
- Violet
- Dark
- Nearest: Black
#2A2138 is a violet with RGB values 42, 33, 56 and HSL 263°, 26%, 17%. 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
#2A2138#2A2138
HEX#2A2138
RGBrgb(42, 33, 56)
RGB (0–1)0.1647, 0.1294, 0.2196
RGB percentages16.5%, 12.9%, 22%
HSLhsl(263.5, 25.8%, 17.5%)
HSV / HSBhsv(263.5, 41.1%, 22%)
CMYK25%, 41.1%, 0%, 78%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,761,016
CSS custom property--colour: #2A2138;
Brightness & contrast
Relative luminance0.01865WCAG 2.x, 0 is black and 1 is white
Perceived brightness39 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.29:1
Contrast with white15.29:1WCAG normal text: AAA
Contrast with black1.37:1WCAG normal text: Fail
Greyscale equivalent#252525
Inverted#D5DEC7
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.29: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#2F3821
Analogous#212338, #362138
Triadic#382A21, #21382A
Split complementary#383521, #243821
Tetradic#382123, #2F3821, #213836
Tints, shades & saturation
Channel breakdown
R42
G33
B56
Red42 (16.5%)
Green33 (12.9%)
Blue56 (22%)
Hue263.48°
Saturation (HSL)25.84%
Lightness17.45%
Dominant channelBlue
Hex per channelR 2A · G 21 · B 38
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