#2E134A#2E134A

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

Color values

HEX#2E134A
RGBrgb(46, 19, 74)
HSLhsl(269, 59%, 18%)
HSVhsv(269, 74%, 29%)
CMYKcmyk(37.8%, 74.3%, 0%, 71%)
CIE-LABlab(12.87, 26.14, -28.94)
CIE-LCHlch(12.87, 39.00, 312.08°)
OKLaboklab(26.03% 0.0527 -0.0823)
OKLCHoklch(26.03% 0.098 302.6)
XYZxyz(2.5953, 1.5410, 6.6379)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E134A #2F4A13
analogous
#13134A #2E134A #49134A
triadic
#2E134A #4A2E13 #134A2E
tetradic
#2E134A #4A1313 #2F4A13 #134A49
square
#2E134A #4A1313 #2F4A13 #134A49
split-complementary
#2E134A #4A4913 #134A13
monochromatic
#0F0618 #100619 #2E134A #4C207B #6B2CAB

Accessibility & contrast

On white

16.05
#2E134A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#2E134A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E134A
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E134A#FFFFFF#000000##FFFFFF
##2E134A1.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214C
Deuteranopia (green-blind)
#002149
Tritanopia (blue-blind)
#281F2C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2e134a;
/* rgb */ color: rgb(46, 19, 74);
/* oklch */ color: oklch(26.0% 0.098 302.6);
Tailwind
colors: {
  custom: {
    50: '#6a537d',
    500: '#2e134a',
    950: '#000000',
  },
}
SCSS
$custom: #2e134a;
$custom-light: #6a537d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e134a",
  "rgb": {
    "r": 46,
    "g": 19,
    "b": 74
  },
  "hsl": {
    "h": 269.455,
    "s": 59.14,
    "l": 18.235
  },
  "oklch": {
    "l": 0.26031,
    "c": 0.09769,
    "h": 302.6
  },
  "luminance": 0.01541
}

Semantic roles & 50–950 ramp

primary
#2E134A
secondary
#5D8336
accent
#E24595
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #2E134A

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

Preview Lab → · Contrast checker → · Palette generator →

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