Nerdulator> put something in

Recognised as Colour

#40258C

  • #40258C
  • Violet
  • Dark
  • Nearest: Rebecca purple

#40258C is a violet with RGB values 64, 37, 140 and HSL 256°, 58%, 35%. It is a dark colour, so white text on it reaches 11.3:1 contrast (AAA for normal text). The nearest named colour is Rebecca purple.

Colour values

#40258C#40258C
HEX#40258C
RGBrgb(64, 37, 140)
RGB (0–1)0.251, 0.1451, 0.549
RGB percentages25.1%, 14.5%, 54.9%
HSLhsl(255.7, 58.2%, 34.7%)
HSV / HSBhsv(255.7, 73.6%, 54.9%)
CMYK54.3%, 73.6%, 0%, 45.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,203,916
CSS custom property--colour: #40258C;

Brightness & contrast

Relative luminance0.04307WCAG 2.x, 0 is black and 1 is white
Perceived brightness65.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.28:1
Contrast with white11.28:1WCAG normal text: AAA
Contrast with black1.86:1WCAG normal text: Fail
Greyscale equivalent#323232
Inverted#BFDA73

Colour vision & accessibility

Protanopia#003D8Fno red cones; affects about 1% of men; ΔE 22 from the original
Deuteranopia#00388Ano green cones; the most common form, about 1% of men; ΔE 20.4 from the original
Tritanopia#224056no blue cones; rare, and affects men and women equally; ΔE 56.3 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text11.28:1WCAG large text: AAA
Contrast with black, large text1.86:1WCAG large text: Fail

Named colours

Nearest named CSS colourRebecca purple (#663399)ΔE 10.6, a distinctly different colour
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#718C25
Analogous#253D8C, #74258C
Triadic#8C4025, #258C40
Split complementary#8C7425, #3D8C25
Tetradic#8C253D, #718C25, #258C74

Tints, shades & saturation

Lighter +40%#AD99E4
Lighter +30%#8C71D9
Lighter +20%#6C48CF
Lighter +10%#5230B4
Darker −10%#2E1A64
Darker −20%#1B103B
Darker −30%#090513
Darker −40%#000000
More saturated +25%#350FA2
Less saturated −25%#4B3B76

Channel breakdown

R64
G37
B140
Red64 (25.1%)
Green37 (14.5%)
Blue140 (54.9%)
Hue255.73°
Saturation (HSL)58.19%
Lightness34.71%
Dominant channelBlue
Hex per channelR 40 · G 25 · B 8C

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