Recognised as Colour
#2B1373
- #2B1373
- Violet
- Dark
- Nearest: Midnight blue
#2B1373 is a violet with RGB values 43, 19, 115 and HSL 255°, 72%, 26%. It is a dark colour, so white text on it reaches 14.5:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#2B1373#2B1373
HEX#2B1373
RGBrgb(43, 19, 115)
RGB (0–1)0.1686, 0.0745, 0.451
RGB percentages16.9%, 7.5%, 45.1%
HSLhsl(255, 71.6%, 26.3%)
HSV / HSBhsv(255, 83.5%, 45.1%)
CMYK62.6%, 83.5%, 0%, 54.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,823,027
CSS custom property--colour: #2B1373;
Brightness & contrast
Relative luminance0.02217WCAG 2.x, 0 is black and 1 is white
Perceived brightness47.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.55:1
Contrast with white14.55:1WCAG normal text: AAA
Contrast with black1.44:1WCAG normal text: Fail
Greyscale equivalent#1F1F1F
Inverted#D4EC8C
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.55:1WCAG large text: AAA
Contrast with black, large text1.44:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#5B7313
Analogous#132B73, #5B1373
Triadic#732B13, #13732B
Split complementary#735B13, #2B7313
Tetradic#73132B, #5B7313, #13735B
Tints, shades & saturation
Channel breakdown
R43
G19
B115
Red43 (16.9%)
Green19 (7.5%)
Blue115 (45.1%)
Hue255°
Saturation (HSL)71.64%
Lightness26.27%
Dominant channelBlue
Hex per channelR 2B · G 13 · B 73
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