Recognised as Colour
#540A81
- #540A81
- Violet
- Dark
- Nearest: Indigo
#540A81 is a violet with RGB values 84, 10, 129 and HSL 277°, 86%, 27%. It is a dark colour, so white text on it reaches 12.1:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#540A81#540A81
HEX#540A81
RGBrgb(84, 10, 129)
RGB (0–1)0.3294, 0.0392, 0.5059
RGB percentages32.9%, 3.9%, 50.6%
HSLhsl(277.3, 85.6%, 27.3%)
HSV / HSBhsv(277.3, 92.2%, 50.6%)
CMYK34.9%, 92.2%, 0%, 49.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,507,713
CSS custom property--colour: #540A81;
Brightness & contrast
Relative luminance0.03687WCAG 2.x, 0 is black and 1 is white
Perceived brightness63.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.09:1
Contrast with white12.09:1WCAG normal text: AAA
Contrast with black1.74:1WCAG normal text: Fail
Greyscale equivalent#222222
Inverted#ABF57E
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.09:1WCAG large text: AAA
Contrast with black, large text1.74:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#37810A
Analogous#190A81, #810A72
Triadic#81540A, #0A8154
Split complementary#73810A, #0A8118
Tetradic#81180A, #37810A, #0A7281
Tints, shades & saturation
Channel breakdown
R84
G10
B129
Red84 (32.9%)
Green10 (3.9%)
Blue129 (50.6%)
Hue277.31°
Saturation (HSL)85.61%
Lightness27.25%
Dominant channelBlue
Hex per channelR 54 · G 0A · B 81
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