Nerdulator> put something in

Recognised as Colour

#51178B

  • #51178B
  • Violet
  • Dark
  • Nearest: Indigo

#51178B is a violet with RGB values 81, 23, 139 and HSL 270°, 72%, 32%. It is a dark colour, so white text on it reaches 11.4:1 contrast (AAA for normal text). The nearest named colour is Indigo.

Colour values

#51178B#51178B
HEX#51178B
RGBrgb(81, 23, 139)
RGB (0–1)0.3176, 0.0902, 0.5451
RGB percentages31.8%, 9%, 54.5%
HSLhsl(270, 71.6%, 31.8%)
HSV / HSBhsv(270, 83.5%, 54.5%)
CMYK41.7%, 83.5%, 0%, 45.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,314,443
CSS custom property--colour: #51178B;

Brightness & contrast

Relative luminance0.04226WCAG 2.x, 0 is black and 1 is white
Perceived brightness66.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.38:1
Contrast with white11.38:1WCAG normal text: AAA
Contrast with black1.85:1WCAG normal text: Fail
Greyscale equivalent#2C2C2C
Inverted#AEE874

Colour vision & accessibility

Protanopia#003A8Eno red cones; affects about 1% of men; ΔE 28.9 from the original
Deuteranopia#003989no green cones; the most common form, about 1% of men; ΔE 30.5 from the original
Tritanopia#433852no blue cones; rare, and affects men and women equally; ΔE 53.6 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text11.38:1WCAG large text: AAA
Contrast with black, large text1.85:1WCAG large text: Fail

Named colours

Nearest named CSS colourIndigo (#4B0082)ΔE 5.33, clearly different but related
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#518B17
Analogous#17178B, #8B178B
Triadic#8B5117, #178B51
Split complementary#8B8B17, #178B17
Tetradic#8B1717, #518B17, #178B8B

Tints, shades & saturation

Lighter +40%#B783EB
Lighter +30%#9E58E3
Lighter +20%#842CDC
Lighter +10%#6B1EB7
Darker −10%#37105F
Darker −20%#1E0933
Darker −30%#040108
Darker −40%#000000
More saturated +25%#51039F
Less saturated −25%#512B77

Channel breakdown

R81
G23
B139
Red81 (31.8%)
Green23 (9%)
Blue139 (54.5%)
Hue270°
Saturation (HSL)71.6%
Lightness31.76%
Dominant channelBlue
Hex per channelR 51 · G 17 · B 8B

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 “51178b” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.