Recognised as Colour
#5A166B
- #5A166B
- Violet
- Dark
- Nearest: Rebecca purple
#5A166B is a violet with RGB values 90, 22, 107 and HSL 288°, 66%, 25%. It is a dark colour, so white text on it reaches 11.9:1 contrast (AAA for normal text). The nearest named colour is Rebecca purple.
Colour values
#5A166B#5A166B
HEX#5A166B
RGBrgb(90, 22, 107)
RGB (0–1)0.3529, 0.0863, 0.4196
RGB percentages35.3%, 8.6%, 42%
HSLhsl(288, 65.9%, 25.3%)
HSV / HSBhsv(288, 79.4%, 42%)
CMYK15.9%, 79.4%, 0%, 58%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,903,979
CSS custom property--colour: #5A166B;
Brightness & contrast
Relative luminance0.03809WCAG 2.x, 0 is black and 1 is white
Perceived brightness63.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.92:1
Contrast with white11.92:1WCAG normal text: AAA
Contrast with black1.76:1WCAG normal text: Fail
Greyscale equivalent#2B2B2B
Inverted#A5E994
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text11.92:1WCAG large text: AAA
Contrast with black, large text1.76:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#276B16
Analogous#2F166B, #6B1652
Triadic#6B5A16, #166B5A
Split complementary#526B16, #166B2F
Tetradic#6B3016, #276B16, #16526B
Tints, shades & saturation
Channel breakdown
R90
G22
B107
Red90 (35.3%)
Green22 (8.6%)
Blue107 (42%)
Hue288°
Saturation (HSL)65.89%
Lightness25.29%
Dominant channelBlue
Hex per channelR 5A · G 16 · B 6B
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