Recognised as Colour
#AB2AFA
- #AB2AFA
- Violet
- Dark
- Nearest: Dark violet
#AB2AFA is a violet with RGB values 171, 42, 250 and HSL 277°, 95%, 57%. It is a dark colour, so white text on it reaches 4.7:1 contrast (AA for normal text). The nearest named colour is Dark violet.
Colour values
#AB2AFA#AB2AFA
HEX#AB2AFA
RGBrgb(171, 42, 250)
RGB (0–1)0.6706, 0.1647, 0.9804
RGB percentages67.1%, 16.5%, 98%
HSLhsl(277.2, 95.4%, 57.3%)
HSV / HSBhsv(277.2, 83.2%, 98%)
CMYK31.6%, 83.2%, 0%, 2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer11,217,658
CSS custom property--colour: #AB2AFA;
Brightness & contrast
Relative luminance0.17216WCAG 2.x, 0 is black and 1 is white
Perceived brightness130 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 4.73:1
Contrast with white4.73:1WCAG normal text: AA
Contrast with black4.44:1WCAG normal text: Fail
Greyscale equivalent#545454
Inverted#54D505
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.73:1WCAG large text: AAA
Contrast with black, large text4.44:1WCAG large text: AA
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#79FA2A
Analogous#432AFA, #FA2AE1
Triadic#FAAB2A, #2AFAAB
Split complementary#E1FA2A, #2AFA43
Tetradic#FA432A, #79FA2A, #2AE1FA
Tints, shades & saturation
Channel breakdown
R171
G42
B250
Red171 (67.1%)
Green42 (16.5%)
Blue250 (98%)
Hue277.21°
Saturation (HSL)95.41%
Lightness57.25%
Dominant channelBlue
Hex per channelR AB · G 2A · B FA
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