Recognised as Colour
#5A398C
- #5A398C
- Violet
- Dark
- Nearest: Dark slateblue
#5A398C is a violet with RGB values 90, 57, 140 and HSL 264°, 42%, 39%. 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
#5A398C#5A398C
HEX#5A398C
RGBrgb(90, 57, 140)
RGB (0–1)0.3529, 0.2235, 0.549
RGB percentages35.3%, 22.4%, 54.9%
HSLhsl(263.9, 42.1%, 38.6%)
HSV / HSBhsv(263.9, 59.3%, 54.9%)
CMYK35.7%, 59.3%, 0%, 45.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,912,972
CSS custom property--colour: #5A398C;
Brightness & contrast
Relative luminance0.06993WCAG 2.x, 0 is black and 1 is white
Perceived brightness81 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 8.75:1
Contrast with white8.75:1WCAG normal text: AAA
Contrast with black2.4:1WCAG normal text: Fail
Greyscale equivalent#464646
Inverted#A5C673
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text8.75:1WCAG large text: AAA
Contrast with black, large text2.4:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#6B8C39
Analogous#39428C, #83398C
Triadic#8C5A39, #398C5A
Split complementary#8C8439, #428C39
Tetradic#8C3942, #6B8C39, #398C83
Tints, shades & saturation
Channel breakdown
R90
G57
B140
Red90 (35.3%)
Green57 (22.4%)
Blue140 (54.9%)
Hue263.86°
Saturation (HSL)42.13%
Lightness38.63%
Dominant channelBlue
Hex per channelR 5A · G 39 · B 8C
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