Nerdulator> put something in

Recognised as Colour

#40285B

  • #40285B
  • Violet
  • Dark
  • Nearest: Dark slateblue

#40285B is a violet with RGB values 64, 40, 91 and HSL 268°, 39%, 26%. It is a dark colour, so white text on it reaches 12.6:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.

Colour values

#40285B#40285B
HEX#40285B
RGBrgb(64, 40, 91)
RGB (0–1)0.251, 0.1569, 0.3569
RGB percentages25.1%, 15.7%, 35.7%
HSLhsl(268.2, 38.9%, 25.7%)
HSV / HSBhsv(268.2, 56%, 35.7%)
CMYK29.7%, 56%, 0%, 64.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,204,635
CSS custom property--colour: #40285B;

Brightness & contrast

Relative luminance0.03363WCAG 2.x, 0 is black and 1 is white
Perceived brightness55.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.56:1
Contrast with white12.56:1WCAG normal text: AAA
Contrast with black1.67:1WCAG normal text: Fail
Greyscale equivalent#313131
Inverted#BFD7A4

Colour vision & accessibility

Protanopia#17335Dno red cones; affects about 1% of men; ΔE 17.5 from the original
Deuteranopia#1E335Ano green cones; the most common form, about 1% of men; ΔE 17.3 from the original
Tritanopia#3B313Dno blue cones; rare, and affects men and women equally; ΔE 26 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text12.56:1WCAG large text: AAA
Contrast with black, large text1.67:1WCAG large text: Fail

Named colours

Nearest named CSS colourDark slateblue (#483D8B)ΔE 18.41, a distinctly different colour
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#435B28
Analogous#28295B, #5A285B
Triadic#5B4028, #285B40
Split complementary#5B5A28, #295B28
Tetradic#5B2829, #435B28, #285B5A

Tints, shades & saturation

Lighter +40%#A585CA
Lighter +30%#8B62BA
Lighter +20%#7247A2
Lighter +10%#59387E
Darker −10%#271838
Darker −20%#0E0914
Darker −30%#000000
Darker −40%#000000
More saturated +25%#3F186B
Less saturated −25%#41384B

Channel breakdown

R64
G40
B91
Red64 (25.1%)
Green40 (15.7%)
Blue91 (35.7%)
Hue268.24°
Saturation (HSL)38.93%
Lightness25.69%
Dominant channelBlue
Hex per channelR 40 · G 28 · B 5B

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 “40285b” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.