Nerdulator> put something in

Recognised as Colour

#2D1751

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

#2D1751 is a violet with RGB values 45, 23, 81 and HSL 263°, 56%, 20%. It is a dark colour, so white text on it reaches 15.5:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#2D1751#2D1751
HEX#2D1751
RGBrgb(45, 23, 81)
RGB (0–1)0.1765, 0.0902, 0.3176
RGB percentages17.6%, 9%, 31.8%
HSLhsl(262.8, 55.8%, 20.4%)
HSV / HSBhsv(262.8, 71.6%, 31.8%)
CMYK44.4%, 71.6%, 0%, 68.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,955,089
CSS custom property--colour: #2D1751;

Brightness & contrast

Relative luminance0.01765WCAG 2.x, 0 is black and 1 is white
Perceived brightness40.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.52:1
Contrast with white15.52:1WCAG normal text: AAA
Contrast with black1.35:1WCAG normal text: Fail
Greyscale equivalent#202020
Inverted#D2E8AE

Colour vision & accessibility

Protanopia#002453no red cones; affects about 1% of men; ΔE 16.4 from the original
Deuteranopia#002350no green cones; the most common form, about 1% of men; ΔE 17 from the original
Tritanopia#242431no blue cones; rare, and affects men and women equally; ΔE 31.9 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.52:1WCAG large text: AAA
Contrast with black, large text1.35:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#3B5117
Analogous#171E51, #4A1751
Triadic#512D17, #17512D
Split complementary#514A17, #1E5117
Tetradic#51171E, #3B5117, #17514A

Tints, shades & saturation

Lighter +40%#8C62D2
Lighter +30%#6F3AC7
Lighter +20%#592EA0
Lighter +10%#432279
Darker −10%#170C29
Darker −20%#010002
Darker −30%#000000
Darker −40%#000000
More saturated +25%#2A0A5E
Less saturated −25%#302444

Channel breakdown

R45
G23
B81
Red45 (17.6%)
Green23 (9%)
Blue81 (31.8%)
Hue262.76°
Saturation (HSL)55.77%
Lightness20.39%
Dominant channelBlue
Hex per channelR 2D · G 17 · B 51

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