Recognised as Colour
#A31788
- #A31788
- Magenta
- Dark
- Nearest: Dark magenta
#A31788 is a magenta with RGB values 163, 23, 136 and HSL 312°, 75%, 36%. It is a dark colour, so white text on it reaches 6.9:1 contrast (AA for normal text). The nearest named colour is Dark magenta.
Colour values
#A31788#A31788
HEX#A31788
RGBrgb(163, 23, 136)
RGB (0–1)0.6392, 0.0902, 0.5333
RGB percentages63.9%, 9%, 53.3%
HSLhsl(311.6, 75.3%, 36.5%)
HSV / HSBhsv(311.6, 85.9%, 63.9%)
CMYK0%, 85.9%, 16.6%, 36.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer10,688,392
CSS custom property--colour: #A31788;
Brightness & contrast
Relative luminance0.10177WCAG 2.x, 0 is black and 1 is white
Perceived brightness101.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 6.92:1
Contrast with white6.92:1WCAG normal text: AA
Contrast with black3.04:1WCAG normal text: Fail
Greyscale equivalent#3D3D3D
Inverted#5CE877
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text6.92:1WCAG large text: AAA
Contrast with black, large text3.04:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#17A332
Analogous#7817A3, #A31742
Triadic#88A317, #1788A3
Split complementary#42A317, #17A378
Tetradic#A37817, #17A332, #1742A3
Tints, shades & saturation
Channel breakdown
R163
G23
B136
Red163 (63.9%)
Green23 (9%)
Blue136 (53.3%)
Hue311.57°
Saturation (HSL)75.27%
Lightness36.47%
Dominant channelRed
Hex per channelR A3 · G 17 · B 88
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