Recognised as Colour
#5D40B4
- #5D40B4
- Violet
- Dark
- Nearest: Slate blue
#5D40B4 is a violet with RGB values 93, 64, 180 and HSL 255°, 48%, 48%. It is a dark colour, so white text on it reaches 7.3:1 contrast (AAA for normal text). The nearest named colour is Slate blue.
Colour values
#5D40B4#5D40B4
HEX#5D40B4
RGBrgb(93, 64, 180)
RGB (0–1)0.3647, 0.251, 0.7059
RGB percentages36.5%, 25.1%, 70.6%
HSLhsl(255, 47.5%, 47.8%)
HSV / HSBhsv(255, 64.4%, 70.6%)
CMYK48.3%, 64.4%, 0%, 29.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer6,111,412
CSS custom property--colour: #5D40B4;
Brightness & contrast
Relative luminance0.09289WCAG 2.x, 0 is black and 1 is white
Perceived brightness93.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 7.35:1
Contrast with white7.35:1WCAG normal text: AAA
Contrast with black2.86:1WCAG normal text: Fail
Greyscale equivalent#4F4F4F
Inverted#A2BF4B
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text7.35:1WCAG large text: AAA
Contrast with black, large text2.86:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#97B440
Analogous#405DB4, #9740B4
Triadic#B45D40, #40B45D
Split complementary#B49740, #5DB440
Tetradic#B4405D, #97B440, #40B497
Tints, shades & saturation
Channel breakdown
R93
G64
B180
Red93 (36.5%)
Green64 (25.1%)
Blue180 (70.6%)
Hue255°
Saturation (HSL)47.54%
Lightness47.84%
Dominant channelBlue
Hex per channelR 5D · G 40 · B B4
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