Recognised as Colour
#78157C
- #78157C
- Magenta
- Dark
- Nearest: Purple
#78157C is a magenta with RGB values 120, 21, 124 and HSL 298°, 71%, 28%. It is a dark colour, so white text on it reaches 9.6:1 contrast (AAA for normal text). The nearest named colour is Purple.
Colour values
#78157C#78157C
HEX#78157C
RGBrgb(120, 21, 124)
RGB (0–1)0.4706, 0.0824, 0.4863
RGB percentages47.1%, 8.2%, 48.6%
HSLhsl(297.7, 71%, 28.4%)
HSV / HSBhsv(297.7, 83.1%, 48.6%)
CMYK3.2%, 83.1%, 0%, 51.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer7,869,820
CSS custom property--colour: #78157C;
Brightness & contrast
Relative luminance0.05985WCAG 2.x, 0 is black and 1 is white
Perceived brightness79.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 9.56:1
Contrast with white9.56:1WCAG normal text: AAA
Contrast with black2.2:1WCAG normal text: Fail
Greyscale equivalent#313131
Inverted#87EA83
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text9.56:1WCAG large text: AAA
Contrast with black, large text2.2:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#197C15
Analogous#45157C, #7C154C
Triadic#7C7815, #157C78
Split complementary#4D7C15, #157C45
Tetradic#7C4415, #197C15, #154C7C
Tints, shades & saturation
Channel breakdown
R120
G21
B124
Red120 (47.1%)
Green21 (8.2%)
Blue124 (48.6%)
Hue297.67°
Saturation (HSL)71.03%
Lightness28.43%
Dominant channelBlue
Hex per channelR 78 · G 15 · B 7C
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