Nerdulator> put something in

Colour

#240B56

  • #240B56
  • Violet
  • Dark
  • Nearest: Midnight blue

#240B56 is a violet with RGB values 36, 11, 86 and HSL 260°, 77%, 19%. It is a dark colour, so white text on it reaches 16.7:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#240B56#240B56
HEX#240B56
RGBrgb(36, 11, 86)
RGB (0–1)0.1412, 0.0431, 0.3373
RGB percentages14.1%, 4.3%, 33.7%
HSLhsl(260, 77.3%, 19%)
HSV / HSBhsv(260, 87.2%, 33.7%)
CMYK58.1%, 87.2%, 0%, 66.3%naive device-independent conversion; real print needs an ICC profile
24-bit integer2,362,198
CSS custom property--colour: #240B56;

Brightness & contrast

Relative luminance0.01286WCAG 2.x, 0 is black and 1 is white
Perceived brightness36.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.7:1
Contrast with white16.7:1WCAG normal text: AAA
Contrast with black1.26:1WCAG normal text: Fail
Greyscale equivalent#161616
Inverted#DBF4A9

Colour vision & accessibility

Protanopia#001F58no red cones; affects about 1% of men; ΔE 17.1 from the original
Deuteranopia#001C55no green cones; the most common form, about 1% of men; ΔE 16 from the original
Tritanopia#102131no blue cones; rare, and affects men and women equally; ΔE 43 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.7:1WCAG large text: AAA
Contrast with black, large text1.26:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 10.67, a distinctly different colour
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#3D560B
Analogous#0B1756, #4A0B56
Triadic#56240B, #0B5624
Split complementary#564A0B, #18560B
Tetradic#560B18, #3D560B, #0B564A

Tints, shades & saturation

Lighter +40%#7C46E7
Lighter +30%#5D1CDE
Lighter +20%#4A17B0
Lighter +10%#371183
Darker −10%#110529
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#200061
Less saturated −25%#28174A

Channel breakdown

R36
G11
B86
Red36 (14.1%)
Green11 (4.3%)
Blue86 (33.7%)
Hue260°
Saturation (HSL)77.32%
Lightness19.02%
Dominant channelBlue
Hex per channelR 24 · G 0B · B 56

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