Recognised as Colour
#5D1998
- #5D1998
- Violet
- Dark
- Nearest: Indigo
#5D1998 is a violet with RGB values 93, 25, 152 and HSL 272°, 72%, 35%. It is a dark colour, so white text on it reaches 10.2:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#5D1998#5D1998
HEX#5D1998
RGBrgb(93, 25, 152)
RGB (0–1)0.3647, 0.098, 0.5961
RGB percentages36.5%, 9.8%, 59.6%
HSLhsl(272.1, 71.8%, 34.7%)
HSV / HSBhsv(272.1, 83.6%, 59.6%)
CMYK38.8%, 83.6%, 0%, 40.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer6,101,400
CSS custom property--colour: #5D1998;
Brightness & contrast
Relative luminance0.05289WCAG 2.x, 0 is black and 1 is white
Perceived brightness74.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 10.2:1
Contrast with white10.2:1WCAG normal text: AAA
Contrast with black2.06:1WCAG normal text: Fail
Greyscale equivalent#313131
Inverted#A2E667
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text10.2:1WCAG large text: AAA
Contrast with black, large text2.06:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#549819
Analogous#1D1998, #981993
Triadic#985D19, #19985D
Split complementary#949819, #19981D
Tetradic#981D19, #549819, #199498
Tints, shades & saturation
Channel breakdown
R93
G25
B152
Red93 (36.5%)
Green25 (9.8%)
Blue152 (59.6%)
Hue272.13°
Saturation (HSL)71.75%
Lightness34.71%
Dominant channelBlue
Hex per channelR 5D · G 19 · B 98
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