Recognised as Colour
#2E0E40
- #2E0E40
- Violet
- Dark
- Nearest: Midnight blue
#2E0E40 is a violet with RGB values 46, 14, 64 and HSL 278°, 64%, 15%. It is a dark colour, so white text on it reaches 16.8:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#2E0E40#2E0E40
HEX#2E0E40
RGBrgb(46, 14, 64)
RGB (0–1)0.1804, 0.0549, 0.251
RGB percentages18%, 5.5%, 25.1%
HSLhsl(278.4, 64.1%, 15.3%)
HSV / HSBhsv(278.4, 78.1%, 25.1%)
CMYK28.1%, 78.1%, 0%, 74.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,018,304
CSS custom property--colour: #2E0E40;
Brightness & contrast
Relative luminance0.01265WCAG 2.x, 0 is black and 1 is white
Perceived brightness34.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.76:1
Contrast with white16.76:1WCAG normal text: AAA
Contrast with black1.25:1WCAG normal text: Fail
Greyscale equivalent#181818
Inverted#D1F1BF
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.76:1WCAG large text: AAA
Contrast with black, large text1.25:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#20400E
Analogous#150E40, #400E39
Triadic#402E0E, #0E402E
Split complementary#39400E, #0E4015
Tetradic#40150E, #20400E, #0E3940
Tints, shades & saturation
Channel breakdown
R46
G14
B64
Red46 (18%)
Green14 (5.5%)
Blue64 (25.1%)
Hue278.4°
Saturation (HSL)64.1%
Lightness15.29%
Dominant channelBlue
Hex per channelR 2E · G 0E · B 40
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