Recognised as Colour
#5A017A
- #5A017A
- Violet
- Dark
- Nearest: Indigo
#5A017A is a violet with RGB values 90, 1, 122 and HSL 284°, 98%, 24%. It is a dark colour, so white text on it reaches 12.2:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#5A017A#5A017A
HEX#5A017A
RGBrgb(90, 1, 122)
RGB (0–1)0.3529, 0.0039, 0.4784
RGB percentages35.3%, 0.4%, 47.8%
HSLhsl(284.1, 98.4%, 24.1%)
HSV / HSBhsv(284.1, 99.2%, 47.8%)
CMYK26.2%, 99.2%, 0%, 52.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,898,618
CSS custom property--colour: #5A017A;
Brightness & contrast
Relative luminance0.03601WCAG 2.x, 0 is black and 1 is white
Perceived brightness64.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.21:1
Contrast with white12.21:1WCAG normal text: AAA
Contrast with black1.72:1WCAG normal text: Fail
Greyscale equivalent#1D1D1D
Inverted#A5FE85
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.21:1WCAG large text: AAA
Contrast with black, large text1.72:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#217A01
Analogous#1D017A, #7A015E
Triadic#7A5A01, #017A5A
Split complementary#5D7A01, #017A1E
Tetradic#7A1E01, #217A01, #015D7A
Tints, shades & saturation
Channel breakdown
R90
G1
B122
Red90 (35.3%)
Green1 (0.4%)
Blue122 (47.8%)
Hue284.13°
Saturation (HSL)98.37%
Lightness24.12%
Dominant channelBlue
Hex per channelR 5A · G 01 · B 7A
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