Recognised as Colour
#5A398A
- #5A398A
- Violet
- Dark
- Nearest: Dark slateblue
#5A398A is a violet with RGB values 90, 57, 138 and HSL 264°, 42%, 38%. It is a dark colour, so white text on it reaches 8.8:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#5A398A#5A398A
HEX#5A398A
RGBrgb(90, 57, 138)
RGB (0–1)0.3529, 0.2235, 0.5412
RGB percentages35.3%, 22.4%, 54.1%
HSLhsl(264.4, 41.5%, 38.2%)
HSV / HSBhsv(264.4, 58.7%, 54.1%)
CMYK34.8%, 58.7%, 0%, 45.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,912,970
CSS custom property--colour: #5A398A;
Brightness & contrast
Relative luminance0.06935WCAG 2.x, 0 is black and 1 is white
Perceived brightness80.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 8.8:1
Contrast with white8.8:1WCAG normal text: AAA
Contrast with black2.39:1WCAG normal text: Fail
Greyscale equivalent#464646
Inverted#A5C675
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text8.8:1WCAG large text: AAA
Contrast with black, large text2.39:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#698A39
Analogous#39418A, #83398A
Triadic#8A5A39, #398A5A
Split complementary#8A8339, #408A39
Tetradic#8A3941, #698A39, #398A83
Tints, shades & saturation
Channel breakdown
R90
G57
B138
Red90 (35.3%)
Green57 (22.4%)
Blue138 (54.1%)
Hue264.44°
Saturation (HSL)41.54%
Lightness38.24%
Dominant channelBlue
Hex per channelR 5A · G 39 · B 8A
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