Nerdulator> put something in

Recognised as Colour

#240C31

  • #240C31
  • Violet
  • Dark
  • Nearest: Black

#240C31 is a violet with RGB values 36, 12, 49 and HSL 279°, 61%, 12%. It is a dark colour, so white text on it reaches 17.9:1 contrast (AAA for normal text). The nearest named colour is Black.

Colour values

#240C31#240C31
HEX#240C31
RGBrgb(36, 12, 49)
RGB (0–1)0.1412, 0.0471, 0.1922
RGB percentages14.1%, 4.7%, 19.2%
HSLhsl(278.9, 60.7%, 12%)
HSV / HSBhsv(278.9, 75.5%, 19.2%)
CMYK26.5%, 75.5%, 0%, 80.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,362,417
CSS custom property--colour: #240C31;

Brightness & contrast

Relative luminance0.0086WCAG 2.x, 0 is black and 1 is white
Perceived brightness27.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.92:1
Contrast with white17.92:1WCAG normal text: AAA
Contrast with black1.17:1WCAG normal text: Fail
Greyscale equivalent#141414
Inverted#DBF3CE

Colour vision & accessibility

Protanopia#011632no red cones; affects about 1% of men; ΔE 16.3 from the original
Deuteranopia#091830no green cones; the most common form, about 1% of men; ΔE 17 from the original
Tritanopia#22131Dno blue cones; rare, and affects men and women equally; ΔE 18.8 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.92:1WCAG large text: AAA
Contrast with black, large text1.17:1WCAG large text: Fail

Named colours

Nearest named CSS colourBlack (#000000)ΔE 29.29, a distinctly different colour
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#19310C
Analogous#120C31, #310C2B
Triadic#31240C, #0C3124
Split complementary#2C310C, #0C3111
Tetradic#31110C, #19310C, #0C2B31

Tints, shades & saturation

Lighter +40%#9B3ACF
Lighter +30%#7E2AAC
Lighter +20%#602083
Lighter +10%#42165A
Darker −10%#060208
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#260439
Less saturated −25%#221429

Channel breakdown

R36
G12
B49
Red36 (14.1%)
Green12 (4.7%)
Blue49 (19.2%)
Hue278.92°
Saturation (HSL)60.66%
Lightness11.96%
Dominant channelBlue
Hex per channelR 24 · G 0C · B 31

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