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
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
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
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.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page