Recognised as Colour
#6740D2
- #6740D2
- Violet
- Dark
- Nearest: Medium slateblue
#6740D2 is a violet with RGB values 103, 64, 210 and HSL 256°, 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
#6740D2#6740D2
HEX#6740D2
RGBrgb(103, 64, 210)
RGB (0–1)0.4039, 0.251, 0.8235
RGB percentages40.4%, 25.1%, 82.4%
HSLhsl(256, 61.9%, 53.7%)
HSV / HSBhsv(256, 69.5%, 82.4%)
CMYK51%, 69.5%, 0%, 17.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer6,766,802
CSS custom property--colour: #6740D2;
Brightness & contrast
Relative luminance0.11203WCAG 2.x, 0 is black and 1 is white
Perceived brightness103 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 6.48:1
Contrast with white6.48:1WCAG normal text: AA
Contrast with black3.24:1WCAG normal text: Fail
Greyscale equivalent#535353
Inverted#98BF2D
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text6.48:1WCAG large text: AAA
Contrast with black, large text3.24:1WCAG large text: AA
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#ABD240
Analogous#4062D2, #B040D2
Triadic#D26740, #40D267
Split complementary#D2B040, #62D240
Tetradic#D24062, #ABD240, #40D2B0
Tints, shades & saturation
Channel breakdown
R103
G64
B210
Red103 (40.4%)
Green64 (25.1%)
Blue210 (82.4%)
Hue256.03°
Saturation (HSL)61.86%
Lightness53.73%
Dominant channelBlue
Hex per channelR 67 · 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