#2E114D#2E114D

#2E114D is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.0% C 0.104 H 301.5°. Best body text is #FFFFFF at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#2E114D
RGBrgb(46, 17, 77)
HSLhsl(269, 64%, 18%)
HSVhsv(269, 78%, 30%)
CMYKcmyk(40.3%, 77.9%, 0%, 69.8%)
CIE-LABlab(12.72, 28.14, -31.26)
CIE-LCHlch(12.72, 42.06, 311.99°)
OKLaboklab(26.01% 0.0546 -0.0891)
OKLCHoklch(26.01% 0.104 301.5)
XYZxyz(2.6664, 1.5175, 7.1722)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E114D #304D11
analogous
#11124D #2E114D #4C114D
triadic
#2E114D #4D2E11 #114D2E
tetradic
#2E114D #4D1112 #304D11 #114D4C
square
#2E114D #4D1112 #304D11 #114D4C
split-complementary
#2E114D #4D4C11 #124D11
monochromatic
#0F0619 #10061B #2E114D #4C1C7F #6A27B1

Accessibility & contrast

On white

16.11
#2E114D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#2E114D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E114D
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E114D#FFFFFF#000000##FFFFFF
##2E114D1.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214F
Deuteranopia (green-blind)
#00214C
Tritanopia (blue-blind)
#271F2D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2e114d;
/* rgb */ color: rgb(46, 17, 77);
/* oklch */ color: oklch(26.0% 0.104 301.5);
Tailwind
colors: {
  custom: {
    50: '#6a527f',
    500: '#2e114d',
    950: '#000000',
  },
}
SCSS
$custom: #2e114d;
$custom-light: #6a527f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e114d",
  "rgb": {
    "r": 46,
    "g": 17,
    "b": 77
  },
  "hsl": {
    "h": 269,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.26007,
    "c": 0.10448,
    "h": 301.5
  },
  "luminance": 0.01518
}

Semantic roles & 50–950 ramp

primary
#2E114D
secondary
#5E8633
accent
#E74197
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2E114D

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

Preview Lab → · Contrast checker → · Palette generator →

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