Recognised as Colour
#5222BA
- #5222BA
- Violet
- Dark
- Nearest: Dark blue
#5222BA is a violet with RGB values 82, 34, 186 and HSL 259°, 69%, 43%. It is a dark colour, so white text on it reaches 9.1:1 contrast (AAA for normal text). The nearest named colour is Dark blue.
Colour values
#5222BA#5222BA
HEX#5222BA
RGBrgb(82, 34, 186)
RGB (0–1)0.3216, 0.1333, 0.7294
RGB percentages32.2%, 13.3%, 72.9%
HSLhsl(258.9, 69.1%, 43.1%)
HSV / HSBhsv(258.9, 81.7%, 72.9%)
CMYK55.9%, 81.7%, 0%, 27.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,382,842
CSS custom property--colour: #5222BA;
Brightness & contrast
Relative luminance0.06483WCAG 2.x, 0 is black and 1 is white
Perceived brightness81.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 9.14:1
Contrast with white9.14:1WCAG normal text: AAA
Contrast with black2.3:1WCAG normal text: Fail
Greyscale equivalent#373737
Inverted#ADDD45
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text9.14:1WCAG large text: AAA
Contrast with black, large text2.3:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#8ABA22
Analogous#223EBA, #9E22BA
Triadic#BA5222, #22BA52
Split complementary#BA9E22, #3EBA22
Tetradic#BA223E, #8ABA22, #22BA9E
Tints, shades & saturation
Channel breakdown
R82
G34
B186
Red82 (32.2%)
Green34 (13.3%)
Blue186 (72.9%)
Hue258.95°
Saturation (HSL)69.09%
Lightness43.14%
Dominant channelBlue
Hex per channelR 52 · G 22 · B BA
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