Nerdulator> put something in

Recognised as Colour

#40284D

  • #40284D
  • Violet
  • Dark
  • Nearest: Dark slateblue

#40284D is a violet with RGB values 64, 40, 77 and HSL 279°, 32%, 23%. It is a dark colour, so white text on it reaches 12.9:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.

Colour values

#40284D#40284D
HEX#40284D
RGBrgb(64, 40, 77)
RGB (0–1)0.251, 0.1569, 0.302
RGB percentages25.1%, 15.7%, 30.2%
HSLhsl(278.9, 31.6%, 22.9%)
HSV / HSBhsv(278.9, 48.1%, 30.2%)
CMYK16.9%, 48.1%, 0%, 69.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,204,621
CSS custom property--colour: #40284D;

Brightness & contrast

Relative luminance0.03143WCAG 2.x, 0 is black and 1 is white
Perceived brightness53.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.89:1
Contrast with white12.89:1WCAG normal text: AAA
Contrast with black1.63:1WCAG normal text: Fail
Greyscale equivalent#303030
Inverted#BFD7B2

Colour vision & accessibility

Protanopia#21304Eno red cones; affects about 1% of men; ΔE 15.4 from the original
Deuteranopia#27324Cno green cones; the most common form, about 1% of men; ΔE 15.7 from the original
Tritanopia#3F2D36no blue cones; rare, and affects men and women equally; ΔE 18.4 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text12.89:1WCAG large text: AAA
Contrast with black, large text1.63:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#354D28
Analogous#2E284D, #4D2847
Triadic#4D4028, #284D40
Split complementary#474D28, #284D2E
Tetradic#4D2E28, #354D28, #28474D

Tints, shades & saturation

Lighter +40%#A983BE
Lighter +30%#9261AD
Lighter +20%#784B90
Lighter +10%#5C396F
Darker −10%#24172B
Darker −20%#08050A
Darker −30%#000000
Darker −40%#000000
More saturated +25%#44195C
Less saturated −25%#3C373E

Channel breakdown

R64
G40
B77
Red64 (25.1%)
Green40 (15.7%)
Blue77 (30.2%)
Hue278.92°
Saturation (HSL)31.62%
Lightness22.94%
Dominant channelBlue
Hex per channelR 40 · G 28 · B 4D

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