#2E133A#2E133A

#2E133A is a very dark, moderate purple. Relative luminance 0.014; OKLCH L 24.7% C 0.077 H 314.2°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#2E133A
RGBrgb(46, 19, 58)
HSLhsl(282, 51%, 15%)
HSVhsv(282, 67%, 23%)
CMYKcmyk(20.7%, 67.2%, 0%, 77.3%)
CIE-LABlab(11.64, 21.70, -19.67)
CIE-LCHlch(11.64, 29.29, 317.81°)
OKLaboklab(24.75% 0.0535 -0.0551)
OKLCHoklch(24.75% 0.077 314.2)
XYZxyz(2.1232, 1.3521, 4.1513)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E133A #1F3A13
analogous
#1A133A #2E133A #3A1333
triadic
#2E133A #3A2E13 #133A2E
tetradic
#2E133A #3A1A13 #1F3A13 #13333A
square
#2E133A #3A1A13 #1F3A13 #13333A
split-complementary
#2E133A #333A13 #133A1A
monochromatic
#120817 #120817 #2E133A #532268 #773196

Accessibility & contrast

On white

16.53
#2E133A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2E133A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E133A
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E133A#FFFFFF#000000##FFFFFF
##2E133A1.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081D3B
Deuteranopia (green-blind)
#121F39
Tritanopia (blue-blind)
#2D1A24
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2e133a;
/* rgb */ color: rgb(46, 19, 58);
/* oklch */ color: oklch(24.7% 0.077 314.2);
Tailwind
colors: {
  custom: {
    50: '#685270',
    500: '#2e133a',
    950: '#000000',
  },
}
SCSS
$custom: #2e133a;
$custom-light: #685270;
$custom-dark: #000000;
JSON
{
  "hex": "#2e133a",
  "rgb": {
    "r": 46,
    "g": 19,
    "b": 58
  },
  "hsl": {
    "h": 281.538,
    "s": 50.649,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24746,
    "c": 0.07679,
    "h": 314.2
  },
  "luminance": 0.01352
}

Semantic roles & 50–950 ramp

primary
#2E133A
secondary
#497236
accent
#DA4E79
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2E133A

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

Preview Lab → · Contrast checker → · Palette generator →

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