Recognised as Colour
#662AFF
- #662AFF
- Violet
- Dark
- Nearest: Medium blue
#662AFF is a violet with RGB values 102, 42, 255 and HSL 257°, 100%, 58%. It is a dark colour, so white text on it reaches 6.3:1 contrast (AA for normal text). The nearest named colour is Medium blue.
Colour values
#662AFF#662AFF
HEX#662AFF
RGBrgb(102, 42, 255)
RGB (0–1)0.4, 0.1647, 1
RGB percentages40%, 16.5%, 100%
HSLhsl(256.9, 100%, 58.2%)
HSV / HSBhsv(256.9, 83.5%, 100%)
CMYK60%, 83.5%, 0%, 0%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer6,695,679
CSS custom property--colour: #662AFF;
Brightness & contrast
Relative luminance0.11701WCAG 2.x, 0 is black and 1 is white
Perceived brightness107.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 6.29:1
Contrast with white6.29:1WCAG normal text: AA
Contrast with black3.34:1WCAG normal text: Fail
Greyscale equivalent#464646
Inverted#99D500
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text6.29:1WCAG large text: AAA
Contrast with black, large text3.34:1WCAG large text: AA
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#C3FF2A
Analogous#2A59FF, #D02AFF
Triadic#FF662A, #2AFF66
Split complementary#FFD02A, #59FF2A
Tetradic#FF2A59, #C3FF2A, #2AFFD0
Tints, shades & saturation
Channel breakdown
R102
G42
B255
Red102 (40%)
Green42 (16.5%)
Blue255 (100%)
Hue256.9°
Saturation (HSL)100%
Lightness58.24%
Dominant channelBlue
Hex per channelR 66 · G 2A · B FF
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