Nerdulator> put something in

Recognised as Colour

#840CA3

  • #840CA3
  • Violet
  • Dark
  • Nearest: Dark orchid

#840CA3 is a violet with RGB values 132, 12, 163 and HSL 288°, 86%, 34%. It is a dark colour, so white text on it reaches 8.2:1 contrast (AAA for normal text). The nearest named colour is Dark orchid.

Colour values

#840CA3#840CA3
HEX#840CA3
RGBrgb(132, 12, 163)
RGB (0–1)0.5176, 0.0471, 0.6392
RGB percentages51.8%, 4.7%, 63.9%
HSLhsl(287.7, 86.3%, 34.3%)
HSV / HSBhsv(287.7, 92.6%, 63.9%)
CMYK19%, 92.6%, 0%, 36.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer8,653,987
CSS custom property--colour: #840CA3;

Brightness & contrast

Relative luminance0.07813WCAG 2.x, 0 is black and 1 is white
Perceived brightness91.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 8.19:1
Contrast with white8.19:1WCAG normal text: AAA
Contrast with black2.56:1WCAG normal text: Fail
Greyscale equivalent#303030
Inverted#7BF35C

Colour vision & accessibility

Protanopia#0048A7no red cones; affects about 1% of men; ΔE 43.8 from the original
Deuteranopia#0E52A0no green cones; the most common form, about 1% of men; ΔE 52.9 from the original
Tritanopia#82385Fno blue cones; rare, and affects men and women equally; ΔE 51.9 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text8.19:1WCAG large text: AAA
Contrast with black, large text2.56:1WCAG large text: Fail

Named colours

Nearest named CSS colourDark orchid (#9932CC)ΔE 12.85, a distinctly different colour
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#2BA30C
Analogous#390CA3, #A30C76
Triadic#A3840C, #0CA384
Split complementary#76A30C, #0CA339
Tetradic#A3390C, #2BA30C, #0C76A3

Tints, shades & saturation

Lighter +40%#DF85F6
Lighter +30%#D255F3
Lighter +20%#C626EF
Lighter +10%#AA0FD3
Darker −10%#5E0973
Darker −20%#370544
Darker −30%#110214
Darker −40%#000000
More saturated +25%#8B00AF
Less saturated −25%#77228D

Channel breakdown

R132
G12
B163
Red132 (51.8%)
Green12 (4.7%)
Blue163 (63.9%)
Hue287.68°
Saturation (HSL)86.29%
Lightness34.31%
Dominant channelBlue
Hex per channelR 84 · G 0C · B A3

Keep nerding

Every link below is a page Nerdulator can generate from what it already knows about this value.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “840ca3” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.