#2E136D#2E136D

#2E136D is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.142 H 287.9°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#2E136D
RGBrgb(46, 19, 109)
HSLhsl(258, 70%, 25%)
HSVhsv(258, 83%, 43%)
CMYKcmyk(57.8%, 82.6%, 0%, 57.3%)
CIE-LABlab(16.26, 36.58, -46.90)
CIE-LCHlch(16.26, 59.48, 307.96°)
OKLaboklab(29.47% 0.0436 -0.135)
OKLCHoklch(29.47% 0.142 287.9)
XYZxyz(4.1191, 2.1505, 14.6631)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E136D #526D13
analogous
#13256D #2E136D #5B136D
triadic
#2E136D #6D2E13 #136D2E
tetradic
#2E136D #6D1325 #526D13 #136D5B
square
#2E136D #6D1325 #526D13 #136D5B
split-complementary
#2E136D #6D5B13 #256D13
monochromatic
#0B051A #180A39 #2E136D #441CA1 #5A25D5

Accessibility & contrast

On white

14.68
#2E136D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E136D
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E136D#FFFFFF#000000##FFFFFF
##2E136D1.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6F
Deuteranopia (green-blind)
#00266B
Tritanopia (blue-blind)
#132D40
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2e136d;
/* rgb */ color: rgb(46, 19, 109);
/* oklch */ color: oklch(29.5% 0.142 287.9);
Tailwind
colors: {
  custom: {
    50: '#6f5598',
    500: '#2e136d',
    950: '#000000',
  },
}
SCSS
$custom: #2e136d;
$custom-light: #6f5598;
$custom-dark: #000000;
JSON
{
  "hex": "#2e136d",
  "rgb": {
    "r": 46,
    "g": 19,
    "b": 109
  },
  "hsl": {
    "h": 258,
    "s": 70.313,
    "l": 25.098
  },
  "oklch": {
    "l": 0.29467,
    "c": 0.14183,
    "h": 287.9
  },
  "luminance": 0.02151
}

Semantic roles & 50–950 ramp

primary
#2E136D
secondary
#84A438
accent
#ED3BB8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #2E136D

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

Preview Lab → · Contrast checker → · Palette generator →

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