#2E136A#2E136A

#2E136A is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.138 H 288.8°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#2E136A
RGBrgb(46, 19, 106)
HSLhsl(259, 70%, 25%)
HSVhsv(259, 82%, 42%)
CMYKcmyk(56.6%, 82.1%, 0%, 58.4%)
CIE-LABlab(15.94, 35.68, -45.46)
CIE-LCHlch(15.94, 57.79, 308.12°)
OKLaboklab(29.15% 0.0446 -0.1308)
OKLCHoklch(29.15% 0.138 288.8)
XYZxyz(3.9603, 2.0870, 13.8270)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E136A #4F6A13
analogous
#13236A #2E136A #5A136A
triadic
#2E136A #6A2E13 #136A2E
tetradic
#2E136A #6A1323 #4F6A13 #136A5A
square
#2E136A #6A1323 #4F6A13 #136A5A
split-complementary
#2E136A #6A5A13 #236A13
monochromatic
#0B051A #170A36 #2E136A #451C9E #5B26D2

Accessibility & contrast

On white

14.82
#2E136A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2E136A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E136A
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E136A#FFFFFF#000000##FFFFFF
##2E136A1.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e136a;
/* rgb */ color: rgb(46, 19, 106);
/* oklch */ color: oklch(29.1% 0.138 288.8);
Tailwind
colors: {
  custom: {
    50: '#6f5496',
    500: '#2e136a',
    950: '#000000',
  },
}
SCSS
$custom: #2e136a;
$custom-light: #6f5496;
$custom-dark: #000000;
JSON
{
  "hex": "#2e136a",
  "rgb": {
    "r": 46,
    "g": 19,
    "b": 106
  },
  "hsl": {
    "h": 258.621,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.29147,
    "c": 0.13817,
    "h": 288.8
  },
  "luminance": 0.02087
}

Semantic roles & 50–950 ramp

primary
#2E136A
secondary
#80A138
accent
#EC3BB5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2E136A

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

Preview Lab → · Contrast checker → · Palette generator →

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