Recognised as Colour
#AB21FF
- #AB21FF
- Violet
- Dark
- Nearest: Dark violet
#AB21FF is a violet with RGB values 171, 33, 255 and HSL 277°, 100%, 56%. It is a dark colour, so white text on it reaches 4.8:1 contrast (AA for normal text). The nearest named colour is Dark violet.
Colour values
#AB21FF#AB21FF
HEX#AB21FF
RGBrgb(171, 33, 255)
RGB (0–1)0.6706, 0.1294, 1
RGB percentages67.1%, 12.9%, 100%
HSLhsl(277.3, 100%, 56.5%)
HSV / HSBhsv(277.3, 87.1%, 100%)
CMYK32.9%, 87.1%, 0%, 0%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer11,215,359
CSS custom property--colour: #AB21FF;
Brightness & contrast
Relative luminance0.16966WCAG 2.x, 0 is black and 1 is white
Perceived brightness129.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 4.78:1
Contrast with white4.78:1WCAG normal text: AA
Contrast with black4.39:1WCAG normal text: Fail
Greyscale equivalent#4E4E4E
Inverted#54DE00
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.78:1WCAG large text: AAA
Contrast with black, large text4.39:1WCAG large text: AA
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#75FF21
Analogous#3C21FF, #FF21E4
Triadic#FFAB21, #21FFAB
Split complementary#E4FF21, #21FF3C
Tetradic#FF3C21, #75FF21, #21E4FF
Tints, shades & saturation
Channel breakdown
R171
G33
B255
Red171 (67.1%)
Green33 (12.9%)
Blue255 (100%)
Hue277.3°
Saturation (HSL)100%
Lightness56.47%
Dominant channelBlue
Hex per channelR AB · G 21 · 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