Nerdulator> put something in

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

Protanopia#0058B8no red cones; affects about 1% of men; ΔE 25 from the original
Deuteranopia#0053B2no green cones; the most common form, about 1% of men; ΔE 24 from the original
Tritanopia#405C74no blue cones; rare, and affects men and women equally; ΔE 60.4 from the original
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

Nearest named CSS colourSlate blue (#6A5ACD)ΔE 10.22, a distinctly different colour
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

Lighter +40%#D9D1EF
Lighter +30%#B9ACE1
Lighter +20%#9A86D4
Lighter +10%#7A60C7
Darker −10%#4A338E
Darker −20%#362569
Darker −30%#231843
Darker −40%#0F0A1E
More saturated +25%#4E22D3
Less saturated −25%#6C5F96

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.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “5d40b4” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.