Recognised as Colour
#2E1840
- #2E1840
- Violet
- Dark
- Nearest: Dark slateblue
#2E1840 is a violet with RGB values 46, 24, 64 and HSL 273°, 45%, 17%. It is a dark colour, so white text on it reaches 15.9:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#2E1840#2E1840
HEX#2E1840
RGBrgb(46, 24, 64)
RGB (0–1)0.1804, 0.0941, 0.251
RGB percentages18%, 9.4%, 25.1%
HSLhsl(273, 45.5%, 17.3%)
HSV / HSBhsv(273, 62.5%, 25.1%)
CMYK28.1%, 62.5%, 0%, 74.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,020,864
CSS custom property--colour: #2E1840;
Brightness & contrast
Relative luminance0.01604WCAG 2.x, 0 is black and 1 is white
Perceived brightness37.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.9:1
Contrast with white15.9:1WCAG normal text: AAA
Contrast with black1.32:1WCAG normal text: Fail
Greyscale equivalent#202020
Inverted#D1E7BF
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.9:1WCAG large text: AAA
Contrast with black, large text1.32:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#2A4018
Analogous#1A1840, #40183E
Triadic#402E18, #18402E
Split complementary#3E4018, #18401A
Tetradic#401A18, #2A4018, #183E40
Tints, shades & saturation
Channel breakdown
R46
G24
B64
Red46 (18%)
Green24 (9.4%)
Blue64 (25.1%)
Hue273°
Saturation (HSL)45.45%
Lightness17.25%
Dominant channelBlue
Hex per channelR 2E · G 18 · 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