Recognised as Colour
#5A428C
- #5A428C
- Violet
- Dark
- Nearest: Dark slateblue
#5A428C is a violet with RGB values 90, 66, 140 and HSL 259°, 36%, 40%. It is a dark colour, so white text on it reaches 8.1:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#5A428C#5A428C
HEX#5A428C
RGBrgb(90, 66, 140)
RGB (0–1)0.3529, 0.2588, 0.549
RGB percentages35.3%, 25.9%, 54.9%
HSLhsl(259.5, 35.9%, 40.4%)
HSV / HSBhsv(259.5, 52.9%, 54.9%)
CMYK35.7%, 52.9%, 0%, 45.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,915,276
CSS custom property--colour: #5A428C;
Brightness & contrast
Relative luminance0.07964WCAG 2.x, 0 is black and 1 is white
Perceived brightness84.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 8.1:1
Contrast with white8.1:1WCAG normal text: AAA
Contrast with black2.59:1WCAG normal text: Fail
Greyscale equivalent#4C4C4C
Inverted#A5BD73
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text8.1:1WCAG large text: AAA
Contrast with black, large text2.59:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#748C42
Analogous#424F8C, #7F428C
Triadic#8C5A42, #428C5A
Split complementary#8C7F42, #4F8C42
Tetradic#8C424F, #748C42, #428C7F
Tints, shades & saturation
Channel breakdown
R90
G66
B140
Red90 (35.3%)
Green66 (25.9%)
Blue140 (54.9%)
Hue259.46°
Saturation (HSL)35.92%
Lightness40.39%
Dominant channelBlue
Hex per channelR 5A · G 42 · 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