#2E116F#2E116F

#2E116F is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.5% C 0.146 H 287.6°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#2E116F
RGBrgb(46, 17, 111)
HSLhsl(259, 73%, 25%)
HSVhsv(259, 85%, 44%)
CMYKcmyk(58.6%, 84.7%, 0%, 56.5%)
CIE-LABlab(16.15, 38.13, -48.38)
CIE-LCHlch(16.15, 61.59, 308.24°)
OKLaboklab(29.46% 0.0443 -0.1393)
OKLCHoklch(29.46% 0.146 287.6)
XYZxyz(4.1956, 2.1292, 15.2257)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E116F #526F11
analogous
#11236F #2E116F #5D116F
triadic
#2E116F #6F2E11 #116F2E
tetradic
#2E116F #6F1123 #526F11 #116F5D
square
#2E116F #6F1123 #526F11 #116F5D
split-complementary
#2E116F #6F5D11 #236F11
monochromatic
#0B041B #18093A #2E116F #4419A4 #5A21D9

Accessibility & contrast

On white

14.73
#2E116F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2E116F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E116F
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E116F#FFFFFF#000000##FFFFFF
##2E116F1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00266D
Tritanopia (blue-blind)
#112D41
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2e116f;
/* rgb */ color: rgb(46, 17, 111);
/* oklch */ color: oklch(29.5% 0.146 287.6);
Tailwind
colors: {
  custom: {
    50: '#705499',
    500: '#2e116f',
    950: '#000000',
  },
}
SCSS
$custom: #2e116f;
$custom-light: #705499;
$custom-dark: #000000;
JSON
{
  "hex": "#2e116f",
  "rgb": {
    "r": 46,
    "g": 17,
    "b": 111
  },
  "hsl": {
    "h": 258.511,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.29458,
    "c": 0.14614,
    "h": 287.6
  },
  "luminance": 0.02129
}

Semantic roles & 50–950 ramp

primary
#2E116F
secondary
#84A635
accent
#F038B7
background
#F7F5F9
surface
#EDE8F2
border
#C8C4CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #2E116F

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

Preview Lab → · Contrast checker → · Palette generator →

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