Recognised as Colour
#540A96
- #540A96
- Violet
- Dark
- Nearest: Indigo
#540A96 is a violet with RGB values 84, 10, 150 and HSL 272°, 88%, 31%. It is a dark colour, so white text on it reaches 11.3:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#540A96#540A96
HEX#540A96
RGBrgb(84, 10, 150)
RGB (0–1)0.3294, 0.0392, 0.5882
RGB percentages32.9%, 3.9%, 58.8%
HSLhsl(271.7, 87.5%, 31.4%)
HSV / HSBhsv(271.7, 93.3%, 58.8%)
CMYK44%, 93.3%, 0%, 41.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,507,734
CSS custom property--colour: #540A96;
Brightness & contrast
Relative luminance0.04304WCAG 2.x, 0 is black and 1 is white
Perceived brightness68.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.29:1
Contrast with white11.29:1WCAG normal text: AAA
Contrast with black1.86:1WCAG normal text: Fail
Greyscale equivalent#242424
Inverted#ABF569
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text11.29:1WCAG large text: AAA
Contrast with black, large text1.86:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#4C960A
Analogous#0E0A96, #960A92
Triadic#96540A, #0A9654
Split complementary#92960A, #0A960E
Tetradic#960E0A, #4C960A, #0A9296
Tints, shades & saturation
Channel breakdown
R84
G10
B150
Red84 (32.9%)
Green10 (3.9%)
Blue150 (58.8%)
Hue271.71°
Saturation (HSL)87.5%
Lightness31.37%
Dominant channelBlue
Hex per channelR 54 · G 0A · B 96
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