Recognised as Colour
#C31A87
- #C31A87
- Magenta
- Dark
- Nearest: Medium violet red
#C31A87 is a magenta with RGB values 195, 26, 135 and HSL 321°, 76%, 43%. It is a dark colour, so white text on it reaches 5.5:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#C31A87#C31A87
HEX#C31A87
RGBrgb(195, 26, 135)
RGB (0–1)0.7647, 0.102, 0.5294
RGB percentages76.5%, 10.2%, 52.9%
HSLhsl(321.3, 76.5%, 43.3%)
HSV / HSBhsv(321.3, 86.7%, 76.5%)
CMYK0%, 86.7%, 30.8%, 23.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer12,786,311
CSS custom property--colour: #C31A87;
Brightness & contrast
Relative luminance0.1409WCAG 2.x, 0 is black and 1 is white
Perceived brightness117.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.5:1
Contrast with white5.5:1WCAG normal text: AA
Contrast with black3.82:1WCAG normal text: Fail
Greyscale equivalent#464646
Inverted#3CE578
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text5.5:1WCAG large text: AAA
Contrast with black, large text3.82:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#1AC356
Analogous#AB1AC3, #C31A32
Triadic#87C31A, #1A87C3
Split complementary#32C31A, #1AC3AB
Tetradic#C3AA1A, #1AC356, #1A32C3
Tints, shades & saturation
Channel breakdown
R195
G26
B135
Red195 (76.5%)
Green26 (10.2%)
Blue135 (52.9%)
Hue321.3°
Saturation (HSL)76.47%
Lightness43.33%
Dominant channelRed
Hex per channelR C3 · G 1A · B 87
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