Recognised as Colour
#7840CB
- #7840CB
- Violet
- Dark
- Nearest: Dark orchid
#7840CB is a violet with RGB values 120, 64, 203 and HSL 264°, 57%, 52%. It is a dark colour, so white text on it reaches 6.2:1 contrast (AA for normal text). The nearest named colour is Dark orchid.
Colour values
#7840CB#7840CB
HEX#7840CB
RGBrgb(120, 64, 203)
RGB (0–1)0.4706, 0.251, 0.7961
RGB percentages47.1%, 25.1%, 79.6%
HSLhsl(264.2, 57.2%, 52.4%)
HSV / HSBhsv(264.2, 68.5%, 79.6%)
CMYK40.9%, 68.5%, 0%, 20.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer7,880,907
CSS custom property--colour: #7840CB;
Brightness & contrast
Relative luminance0.11972WCAG 2.x, 0 is black and 1 is white
Perceived brightness106.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 6.19:1
Contrast with white6.19:1WCAG normal text: AA
Contrast with black3.39:1WCAG normal text: Fail
Greyscale equivalent#565656
Inverted#87BF34
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text6.19:1WCAG large text: AAA
Contrast with black, large text3.39:1WCAG large text: AA
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#93CB40
Analogous#404ECB, #BE40CB
Triadic#CB7840, #40CB78
Split complementary#CBBD40, #4ECB40
Tetradic#CB404D, #93CB40, #40CBBD
Tints, shades & saturation
Channel breakdown
R120
G64
B203
Red120 (47.1%)
Green64 (25.1%)
Blue203 (79.6%)
Hue264.17°
Saturation (HSL)57.2%
Lightness52.35%
Dominant channelBlue
Hex per channelR 78 · G 40 · B CB
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