Recognised as Colour
#2E1754
- #2E1754
- Violet
- Dark
- Nearest: Midnight blue
#2E1754 is a violet with RGB values 46, 23, 84 and HSL 263°, 57%, 21%. It is a dark colour, so white text on it reaches 15.4:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#2E1754#2E1754
HEX#2E1754
RGBrgb(46, 23, 84)
RGB (0–1)0.1804, 0.0902, 0.3294
RGB percentages18%, 9%, 32.9%
HSLhsl(262.6, 57%, 21%)
HSV / HSBhsv(262.6, 72.6%, 32.9%)
CMYK45.2%, 72.6%, 0%, 67.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,020,628
CSS custom property--colour: #2E1754;
Brightness & contrast
Relative luminance0.01834WCAG 2.x, 0 is black and 1 is white
Perceived brightness41.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.36:1
Contrast with white15.36:1WCAG normal text: AAA
Contrast with black1.37:1WCAG normal text: Fail
Greyscale equivalent#202020
Inverted#D1E8AB
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.36:1WCAG large text: AAA
Contrast with black, large text1.37:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#3D5417
Analogous#171F54, #4C1754
Triadic#542E17, #17542E
Split complementary#544C17, #1F5417
Tetradic#54171F, #3D5417, #17544C
Tints, shades & saturation
Channel breakdown
R46
G23
B84
Red46 (18%)
Green23 (9%)
Blue84 (32.9%)
Hue262.62°
Saturation (HSL)57.01%
Lightness20.98%
Dominant channelBlue
Hex per channelR 2E · G 17 · B 54
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