Recognised as Colour
#5B1997
- #5B1997
- Violet
- Dark
- Nearest: Indigo
#5B1997 is a violet with RGB values 91, 25, 151 and HSL 271°, 72%, 35%. It is a dark colour, so white text on it reaches 10.3:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#5B1997#5B1997
HEX#5B1997
RGBrgb(91, 25, 151)
RGB (0–1)0.3569, 0.098, 0.5922
RGB percentages35.7%, 9.8%, 59.2%
HSLhsl(271.4, 71.6%, 34.5%)
HSV / HSBhsv(271.4, 83.4%, 59.2%)
CMYK39.7%, 83.4%, 0%, 40.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,970,327
CSS custom property--colour: #5B1997;
Brightness & contrast
Relative luminance0.05154WCAG 2.x, 0 is black and 1 is white
Perceived brightness73.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 10.34:1
Contrast with white10.34:1WCAG normal text: AAA
Contrast with black2.03:1WCAG normal text: Fail
Greyscale equivalent#303030
Inverted#A4E668
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text10.34:1WCAG large text: AAA
Contrast with black, large text2.03:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#559719
Analogous#1C1997, #971994
Triadic#975B19, #19975B
Split complementary#949719, #19971C
Tetradic#971C19, #559719, #199497
Tints, shades & saturation
Channel breakdown
R91
G25
B151
Red91 (35.7%)
Green25 (9.8%)
Blue151 (59.2%)
Hue271.43°
Saturation (HSL)71.59%
Lightness34.51%
Dominant channelBlue
Hex per channelR 5B · G 19 · B 97
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