Recognised as Colour
#522AA7
- #522AA7
- Violet
- Dark
- Nearest: Indigo
#522AA7 is a violet with RGB values 82, 42, 167 and HSL 259°, 60%, 41%. It is a dark colour, so white text on it reaches 9.3:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#522AA7#522AA7
HEX#522AA7
RGBrgb(82, 42, 167)
RGB (0–1)0.3216, 0.1647, 0.6549
RGB percentages32.2%, 16.5%, 65.5%
HSLhsl(259.2, 59.8%, 41%)
HSV / HSBhsv(259.2, 74.9%, 65.5%)
CMYK50.9%, 74.9%, 0%, 34.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,384,871
CSS custom property--colour: #522AA7;
Brightness & contrast
Relative luminance0.0624WCAG 2.x, 0 is black and 1 is white
Perceived brightness78.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 9.34:1
Contrast with white9.34:1WCAG normal text: AAA
Contrast with black2.25:1WCAG normal text: Fail
Greyscale equivalent#3C3C3C
Inverted#ADD558
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text9.34:1WCAG large text: AAA
Contrast with black, large text2.25:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#7FA72A
Analogous#2A40A7, #912AA7
Triadic#A7522A, #2AA752
Split complementary#A7912A, #40A72A
Tetradic#A72A40, #7FA72A, #2AA791
Tints, shades & saturation
Channel breakdown
R82
G42
B167
Red82 (32.2%)
Green42 (16.5%)
Blue167 (65.5%)
Hue259.2°
Saturation (HSL)59.81%
Lightness40.98%
Dominant channelBlue
Hex per channelR 52 · G 2A · B A7
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page