Recognised as Colour
#5B1996
- #5B1996
- Violet
- Dark
- Nearest: Indigo
#5B1996 is a violet with RGB values 91, 25, 150 and HSL 272°, 71%, 34%. It is a dark colour, so white text on it reaches 10.4:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#5B1996#5B1996
HEX#5B1996
RGBrgb(91, 25, 150)
RGB (0–1)0.3569, 0.098, 0.5882
RGB percentages35.7%, 9.8%, 58.8%
HSLhsl(271.7, 71.4%, 34.3%)
HSV / HSBhsv(271.7, 83.3%, 58.8%)
CMYK39.3%, 83.3%, 0%, 41.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,970,326
CSS custom property--colour: #5B1996;
Brightness & contrast
Relative luminance0.05121WCAG 2.x, 0 is black and 1 is white
Perceived brightness73.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 10.37:1
Contrast with white10.37:1WCAG normal text: AAA
Contrast with black2.02:1WCAG normal text: Fail
Greyscale equivalent#303030
Inverted#A4E669
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text10.37:1WCAG large text: AAA
Contrast with black, large text2.02:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#549619
Analogous#1D1996, #961992
Triadic#965B19, #19965B
Split complementary#939619, #19961C
Tetradic#961D19, #549619, #199296
Tints, shades & saturation
Channel breakdown
R91
G25
B150
Red91 (35.7%)
Green25 (9.8%)
Blue150 (58.8%)
Hue271.68°
Saturation (HSL)71.43%
Lightness34.31%
Dominant channelBlue
Hex per channelR 5B · G 19 · B 96
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