Recognised as Colour
#840FCC
- #840FCC
- Violet
- Dark
- Nearest: Dark violet
#840FCC is a violet with RGB values 132, 15, 204 and HSL 277°, 86%, 43%. It is a dark colour, so white text on it reaches 7.2:1 contrast (AAA for normal text). The nearest named colour is Dark violet.
Colour values
#840FCC#840FCC
HEX#840FCC
RGBrgb(132, 15, 204)
RGB (0–1)0.5176, 0.0588, 0.8
RGB percentages51.8%, 5.9%, 80%
HSLhsl(277.1, 86.3%, 42.9%)
HSV / HSBhsv(277.1, 92.6%, 80%)
CMYK35.3%, 92.6%, 0%, 20%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer8,654,796
CSS custom property--colour: #840FCC;
Brightness & contrast
Relative luminance0.09607WCAG 2.x, 0 is black and 1 is white
Perceived brightness100.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 7.19:1
Contrast with white7.19:1WCAG normal text: AAA
Contrast with black2.92:1WCAG normal text: Fail
Greyscale equivalent#363636
Inverted#7BF033
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text7.19:1WCAG large text: AAA
Contrast with black, large text2.92:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#57CC0F
Analogous#250FCC, #CC0FB6
Triadic#CC840F, #0FCC84
Split complementary#B6CC0F, #0FCC25
Tetradic#CC250F, #57CC0F, #0FB6CC
Tints, shades & saturation
Channel breakdown
R132
G15
B204
Red132 (51.8%)
Green15 (5.9%)
Blue204 (80%)
Hue277.14°
Saturation (HSL)86.3%
Lightness42.94%
Dominant channelBlue
Hex per channelR 84 · G 0F · B CC
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