Recognised as Colour
#540D74
- #540D74
- Violet
- Dark
- Nearest: Indigo
#540D74 is a violet with RGB values 84, 13, 116 and HSL 281°, 80%, 25%. It is a dark colour, so white text on it reaches 12.5:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#540D74#540D74
HEX#540D74
RGBrgb(84, 13, 116)
RGB (0–1)0.3294, 0.051, 0.4549
RGB percentages32.9%, 5.1%, 45.5%
HSLhsl(281.4, 79.8%, 25.3%)
HSV / HSBhsv(281.4, 88.8%, 45.5%)
CMYK27.6%, 88.8%, 0%, 54.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,508,468
CSS custom property--colour: #540D74;
Brightness & contrast
Relative luminance0.03434WCAG 2.x, 0 is black and 1 is white
Perceived brightness61.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.45:1
Contrast with white12.45:1WCAG normal text: AAA
Contrast with black1.69:1WCAG normal text: Fail
Greyscale equivalent#242424
Inverted#ABF28B
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.45:1WCAG large text: AAA
Contrast with black, large text1.69:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#2D740D
Analogous#200D74, #740D61
Triadic#74540D, #0D7454
Split complementary#60740D, #0D7421
Tetradic#74210D, #2D740D, #0D6174
Tints, shades & saturation
Channel breakdown
R84
G13
B116
Red84 (32.9%)
Green13 (5.1%)
Blue116 (45.5%)
Hue281.36°
Saturation (HSL)79.84%
Lightness25.29%
Dominant channelBlue
Hex per channelR 54 · G 0D · B 74
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