Recognised as Colour
#7940C5
- #7940C5
- Violet
- Dark
- Nearest: Dark orchid
#7940C5 is a violet with RGB values 121, 64, 197 and HSL 266°, 53%, 51%. It is a dark colour, so white text on it reaches 6.3:1 contrast (AA for normal text). The nearest named colour is Dark orchid.
Colour values
#7940C5#7940C5
HEX#7940C5
RGBrgb(121, 64, 197)
RGB (0–1)0.4745, 0.251, 0.7725
RGB percentages47.5%, 25.1%, 77.3%
HSLhsl(265.7, 53.4%, 51.2%)
HSV / HSBhsv(265.7, 67.5%, 77.3%)
CMYK38.6%, 67.5%, 0%, 22.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer7,946,437
CSS custom property--colour: #7940C5;
Brightness & contrast
Relative luminance0.11763WCAG 2.x, 0 is black and 1 is white
Perceived brightness105.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 6.26:1
Contrast with white6.26:1WCAG normal text: AA
Contrast with black3.35:1WCAG normal text: Fail
Greyscale equivalent#565656
Inverted#86BF3A
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text6.26:1WCAG large text: AAA
Contrast with black, large text3.35:1WCAG large text: AA
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#8CC540
Analogous#4049C5, #BC40C5
Triadic#C57940, #40C579
Split complementary#C5BC40, #49C540
Tetradic#C54049, #8CC540, #40C5BC
Tints, shades & saturation
Channel breakdown
R121
G64
B197
Red121 (47.5%)
Green64 (25.1%)
Blue197 (77.3%)
Hue265.71°
Saturation (HSL)53.41%
Lightness51.18%
Dominant channelBlue
Hex per channelR 79 · G 40 · B C5
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