Recognised as Colour
#7F308C
- #7F308C
- Magenta
- Dark
- Nearest: Rebecca purple
#7F308C is a magenta with RGB values 127, 48, 140 and HSL 292°, 49%, 37%. It is a dark colour, so white text on it reaches 7.8:1 contrast (AAA for normal text). The nearest named colour is Rebecca purple.
Colour values
#7F308C#7F308C
HEX#7F308C
RGBrgb(127, 48, 140)
RGB (0–1)0.498, 0.1882, 0.549
RGB percentages49.8%, 18.8%, 54.9%
HSLhsl(291.5, 48.9%, 36.9%)
HSV / HSBhsv(291.5, 65.7%, 54.9%)
CMYK9.3%, 65.7%, 0%, 45.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer8,335,500
CSS custom property--colour: #7F308C;
Brightness & contrast
Relative luminance0.08519WCAG 2.x, 0 is black and 1 is white
Perceived brightness91.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 7.77:1
Contrast with white7.77:1WCAG normal text: AAA
Contrast with black2.7:1WCAG normal text: Fail
Greyscale equivalent#474747
Inverted#80CF73
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text7.77:1WCAG large text: AAA
Contrast with black, large text2.7:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#3D8C30
Analogous#51308C, #8C306B
Triadic#8C7F30, #308C7F
Split complementary#6B8C30, #308C51
Tetradic#8C5130, #3D8C30, #306B8C
Tints, shades & saturation
Channel breakdown
R127
G48
B140
Red127 (49.8%)
Green48 (18.8%)
Blue140 (54.9%)
Hue291.52°
Saturation (HSL)48.94%
Lightness36.86%
Dominant channelBlue
Hex per channelR 7F · G 30 · B 8C
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