Recognised as Colour
#540F82
- #540F82
- Violet
- Dark
- Nearest: Indigo
#540F82 is a violet with RGB values 84, 15, 130 and HSL 276°, 79%, 28%. It is a dark colour, so white text on it reaches 11.9:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#540F82#540F82
HEX#540F82
RGBrgb(84, 15, 130)
RGB (0–1)0.3294, 0.0588, 0.5098
RGB percentages32.9%, 5.9%, 51%
HSLhsl(276, 79.3%, 28.4%)
HSV / HSBhsv(276, 88.5%, 51%)
CMYK35.4%, 88.5%, 0%, 49%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,508,994
CSS custom property--colour: #540F82;
Brightness & contrast
Relative luminance0.03838WCAG 2.x, 0 is black and 1 is white
Perceived brightness64.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.88:1
Contrast with white11.88:1WCAG normal text: AAA
Contrast with black1.77:1WCAG normal text: Fail
Greyscale equivalent#262626
Inverted#ABF07D
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text11.88:1WCAG large text: AAA
Contrast with black, large text1.77:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#3D820F
Analogous#1A0F82, #820F77
Triadic#82540F, #0F8254
Split complementary#76820F, #0F821B
Tetradic#821B0F, #3D820F, #0F7682
Tints, shades & saturation
Channel breakdown
R84
G15
B130
Red84 (32.9%)
Green15 (5.9%)
Blue130 (51%)
Hue276°
Saturation (HSL)79.31%
Lightness28.43%
Dominant channelBlue
Hex per channelR 54 · G 0F · B 82
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