Nerdulator> put something in

Recognised as Colour

#2C0840

  • #2C0840
  • Violet
  • Dark
  • Nearest: Midnight blue

#2C0840 is a violet with RGB values 44, 8, 64 and HSL 279°, 78%, 14%. It is a dark colour, so white text on it reaches 17.3:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#2C0840#2C0840
HEX#2C0840
RGBrgb(44, 8, 64)
RGB (0–1)0.1725, 0.0314, 0.251
RGB percentages17.3%, 3.1%, 25.1%
HSLhsl(278.6, 77.8%, 14.1%)
HSV / HSBhsv(278.6, 87.5%, 25.1%)
CMYK31.2%, 87.5%, 0%, 74.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,885,696
CSS custom property--colour: #2C0840;

Brightness & contrast

Relative luminance0.01079WCAG 2.x, 0 is black and 1 is white
Perceived brightness32.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.27:1
Contrast with white17.27:1WCAG normal text: AAA
Contrast with black1.22:1WCAG normal text: Fail
Greyscale equivalent#141414
Inverted#D3F7BF

Colour vision & accessibility

Protanopia#001942no red cones; affects about 1% of men; ΔE 19.1 from the original
Deuteranopia#001B3Fno green cones; the most common form, about 1% of men; ΔE 22.1 from the original
Tritanopia#291624no blue cones; rare, and affects men and women equally; ΔE 27 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.27:1WCAG large text: AAA
Contrast with black, large text1.22:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#1C4008
Analogous#100840, #400838
Triadic#402C08, #08402C
Split complementary#384008, #084010
Tetradic#401008, #1C4008, #083840

Tints, shades & saturation

Lighter +40%#A42FE5
Lighter +30%#8A19C8
Lighter +20%#6A139B
Lighter +10%#4B0E6D
Darker −10%#0D0213
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#2E0048
Less saturated −25%#291137

Channel breakdown

R44
G8
B64
Red44 (17.3%)
Green8 (3.1%)
Blue64 (25.1%)
Hue278.57°
Saturation (HSL)77.78%
Lightness14.12%
Dominant channelBlue
Hex per channelR 2C · G 08 · B 40

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