Recognised as Colour
#540C68
- #540C68
- Violet
- Dark
- Nearest: Rebecca purple
#540C68 is a violet with RGB values 84, 12, 104 and HSL 287°, 79%, 23%. It is a dark colour, so white text on it reaches 12.9:1 contrast (AAA for normal text). The nearest named colour is Rebecca purple.
Colour values
#540C68#540C68
HEX#540C68
RGBrgb(84, 12, 104)
RGB (0–1)0.3294, 0.0471, 0.4078
RGB percentages32.9%, 4.7%, 40.8%
HSLhsl(287, 79.3%, 22.7%)
HSV / HSBhsv(287, 88.5%, 40.8%)
CMYK19.2%, 88.5%, 0%, 59.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,508,200
CSS custom property--colour: #540C68;
Brightness & contrast
Relative luminance0.03147WCAG 2.x, 0 is black and 1 is white
Perceived brightness58.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.89:1
Contrast with white12.89:1WCAG normal text: AAA
Contrast with black1.63:1WCAG normal text: Fail
Greyscale equivalent#222222
Inverted#ABF397
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.89:1WCAG large text: AAA
Contrast with black, large text1.63:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#20680C
Analogous#260C68, #680C4E
Triadic#68540C, #0C6854
Split complementary#4E680C, #0C6826
Tetradic#68260C, #20680C, #0C4E68
Tints, shades & saturation
Channel breakdown
R84
G12
B104
Red84 (32.9%)
Green12 (4.7%)
Blue104 (40.8%)
Hue286.96°
Saturation (HSL)79.31%
Lightness22.75%
Dominant channelBlue
Hex per channelR 54 · G 0C · B 68
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