Nerdulator> put something in

Recognised as Colour

#240A35

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

#240A35 is a violet with RGB values 36, 10, 53 and HSL 276°, 68%, 12%. It is a dark colour, so white text on it reaches 18:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#240A35#240A35
HEX#240A35
RGBrgb(36, 10, 53)
RGB (0–1)0.1412, 0.0392, 0.2078
RGB percentages14.1%, 3.9%, 20.8%
HSLhsl(276.3, 68.3%, 12.4%)
HSV / HSBhsv(276.3, 81.1%, 20.8%)
CMYK32.1%, 81.1%, 0%, 79.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,361,909
CSS custom property--colour: #240A35;

Brightness & contrast

Relative luminance0.00849WCAG 2.x, 0 is black and 1 is white
Perceived brightness27.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.95:1
Contrast with white17.95:1WCAG normal text: AAA
Contrast with black1.17:1WCAG normal text: Fail
Greyscale equivalent#131313
Inverted#DBF5CA

Colour vision & accessibility

Protanopia#001636no red cones; affects about 1% of men; ΔE 16.7 from the original
Deuteranopia#031734no green cones; the most common form, about 1% of men; ΔE 17.8 from the original
Tritanopia#21131Eno blue cones; rare, and affects men and women equally; ΔE 22.1 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.95:1WCAG large text: AAA
Contrast with black, large text1.17:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#1B350A
Analogous#0E0A35, #350A31
Triadic#35240A, #0A3524
Split complementary#31350A, #0A350E
Tetradic#350E0A, #1B350A, #0A3135

Tints, shades & saturation

Lighter +40%#9733D8
Lighter +30%#7B22B6
Lighter +20%#5E1A8B
Lighter +10%#411260
Darker −10%#07020A
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#26023D
Less saturated −25%#22122D

Channel breakdown

R36
G10
B53
Red36 (14.1%)
Green10 (3.9%)
Blue53 (20.8%)
Hue276.28°
Saturation (HSL)68.25%
Lightness12.35%
Dominant channelBlue
Hex per channelR 24 · G 0A · B 35

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