Recognised as Colour
#662AFE
- #662AFE
- Violet
- Dark
- Nearest: Medium blue
#662AFE is a violet with RGB values 102, 42, 254 and HSL 257°, 99%, 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
#662AFE#662AFE
HEX#662AFE
RGBrgb(102, 42, 254)
RGB (0–1)0.4, 0.1647, 0.9961
RGB percentages40%, 16.5%, 99.6%
HSLhsl(257, 99.1%, 58%)
HSV / HSBhsv(257, 83.5%, 99.6%)
CMYK59.8%, 83.5%, 0%, 0.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer6,695,678
CSS custom property--colour: #662AFE;
Brightness & contrast
Relative luminance0.11636WCAG 2.x, 0 is black and 1 is white
Perceived brightness107.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 6.31:1
Contrast with white6.31:1WCAG normal text: AA
Contrast with black3.33:1WCAG normal text: Fail
Greyscale equivalent#464646
Inverted#99D501
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text6.31:1WCAG large text: AAA
Contrast with black, large text3.33:1WCAG large text: AA
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#C2FE2A
Analogous#2A58FE, #D02AFE
Triadic#FE662A, #2AFE66
Split complementary#FED02A, #58FE2A
Tetradic#FE2A58, #C2FE2A, #2AFED0
Tints, shades & saturation
Channel breakdown
R102
G42
B254
Red102 (40%)
Green42 (16.5%)
Blue254 (99.6%)
Hue256.98°
Saturation (HSL)99.07%
Lightness58.04%
Dominant channelBlue
Hex per channelR 66 · G 2A · B FE
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