Recognised as Colour
#6540D2
- #6540D2
- Violet
- Dark
- Nearest: Medium slateblue
#6540D2 is a violet with RGB values 101, 64, 210 and HSL 255°, 62%, 54%. It is a dark colour, so white text on it reaches 6.5:1 contrast (AA for normal text). The nearest named colour is Medium slateblue.
Colour values
#6540D2#6540D2
HEX#6540D2
RGBrgb(101, 64, 210)
RGB (0–1)0.3961, 0.251, 0.8235
RGB percentages39.6%, 25.1%, 82.4%
HSLhsl(255.2, 61.9%, 53.7%)
HSV / HSBhsv(255.2, 69.5%, 82.4%)
CMYK51.9%, 69.5%, 0%, 17.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer6,635,730
CSS custom property--colour: #6540D2;
Brightness & contrast
Relative luminance0.11087WCAG 2.x, 0 is black and 1 is white
Perceived brightness102.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 6.53:1
Contrast with white6.53:1WCAG normal text: AA
Contrast with black3.22:1WCAG normal text: Fail
Greyscale equivalent#525252
Inverted#9ABF2D
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text6.53:1WCAG large text: AAA
Contrast with black, large text3.22:1WCAG large text: AA
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#ADD240
Analogous#4064D2, #AE40D2
Triadic#D26540, #40D265
Split complementary#D2AE40, #64D240
Tetradic#D24064, #ADD240, #40D2AE
Tints, shades & saturation
Channel breakdown
R101
G64
B210
Red101 (39.6%)
Green64 (25.1%)
Blue210 (82.4%)
Hue255.21°
Saturation (HSL)61.86%
Lightness53.73%
Dominant channelBlue
Hex per channelR 65 · G 40 · B D2
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