#2E116A#2E116A

#2E116A is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.140 H 289.2°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#2E116A
RGBrgb(46, 17, 106)
HSLhsl(260, 72%, 24%)
HSVhsv(260, 84%, 42%)
CMYKcmyk(56.6%, 84%, 0%, 58.4%)
CIE-LABlab(15.60, 36.65, -46.01)
CIE-LCHlch(15.60, 58.82, 308.53°)
OKLaboklab(28.91% 0.0461 -0.1323)
OKLCHoklch(28.91% 0.14 289.2)
XYZxyz(3.9279, 2.0222, 13.8162)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E116A #4D6A11
analogous
#11206A #2E116A #5B116A
triadic
#2E116A #6A2E11 #116A2E
tetradic
#2E116A #6A1120 #4D6A11 #116A5B
square
#2E116A #6A1120 #4D6A11 #116A5B
split-complementary
#2E116A #6A5B11 #206A11
monochromatic
#0B041A #170935 #2E116A #45199F #5C22D3

Accessibility & contrast

On white

14.95
#2E116A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#2E116A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E116A
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E116A#FFFFFF#000000##FFFFFF
##2E116A1.0014.951.4014.95
#FFFFFF14.951.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296C
Deuteranopia (green-blind)
#002568
Tritanopia (blue-blind)
#162B3E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2e116a;
/* rgb */ color: rgb(46, 17, 106);
/* oklch */ color: oklch(28.9% 0.140 289.2);
Tailwind
colors: {
  custom: {
    50: '#6f5396',
    500: '#2e116a',
    950: '#000000',
  },
}
SCSS
$custom: #2e116a;
$custom-light: #6f5396;
$custom-dark: #000000;
JSON
{
  "hex": "#2e116a",
  "rgb": {
    "r": 46,
    "g": 17,
    "b": 106
  },
  "hsl": {
    "h": 259.551,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28914,
    "c": 0.14015,
    "h": 289.2
  },
  "luminance": 0.02022
}

Semantic roles & 50–950 ramp

primary
#2E116A
secondary
#7EA235
accent
#EF39B4
background
#F7F4F9
surface
#EDE8F2
border
#C8C4CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2E116A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2E116A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva