Nerdulator> put something in

Recognised as Colour

#40255D

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

#40255D is a violet with RGB values 64, 37, 93 and HSL 269°, 43%, 25%. It is a dark colour, so white text on it reaches 12.8:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.

Colour values

#40255D#40255D
HEX#40255D
RGBrgb(64, 37, 93)
RGB (0–1)0.251, 0.1451, 0.3647
RGB percentages25.1%, 14.5%, 36.5%
HSLhsl(268.9, 43.1%, 25.5%)
HSV / HSBhsv(268.9, 60.2%, 36.5%)
CMYK31.2%, 60.2%, 0%, 63.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,203,869
CSS custom property--colour: #40255D;

Brightness & contrast

Relative luminance0.03203WCAG 2.x, 0 is black and 1 is white
Perceived brightness54.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.8:1
Contrast with white12.8:1WCAG normal text: AAA
Contrast with black1.64:1WCAG normal text: Fail
Greyscale equivalent#2F2F2F
Inverted#BFDAA2

Colour vision & accessibility

Protanopia#0F315Fno red cones; affects about 1% of men; ΔE 18.9 from the original
Deuteranopia#19325Cno green cones; the most common form, about 1% of men; ΔE 19.2 from the original
Tritanopia#3B303Dno blue cones; rare, and affects men and women equally; ΔE 28.6 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text12.8:1WCAG large text: AAA
Contrast with black, large text1.64:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#425D25
Analogous#25265D, #5C255D
Triadic#5D4025, #255D40
Split complementary#5D5C25, #265D25
Tetradic#5D2526, #425D25, #255D5C

Tints, shades & saturation

Lighter +40%#A681CD
Lighter +30%#8C5DBE
Lighter +20%#7242A6
Lighter +10%#593481
Darker −10%#271639
Darker −20%#0E0814
Darker −30%#000000
Darker −40%#000000
More saturated +25%#3F156D
Less saturated −25%#41354D

Channel breakdown

R64
G37
B93
Red64 (25.1%)
Green37 (14.5%)
Blue93 (36.5%)
Hue268.93°
Saturation (HSL)43.08%
Lightness25.49%
Dominant channelBlue
Hex per channelR 40 · G 25 · B 5D

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