#2E1334#2E1334

#2E1334 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.3% C 0.069 H 320.1°. Best body text is #FFFFFF at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#2E1334
RGBrgb(46, 19, 52)
HSLhsl(289, 46%, 14%)
HSVhsv(289, 63%, 20%)
CMYKcmyk(11.5%, 63.5%, 0%, 79.6%)
CIE-LABlab(11.24, 20.16, -15.98)
CIE-LCHlch(11.24, 25.72, 321.59°)
OKLaboklab(24.33% 0.053 -0.0443)
OKLCHoklch(24.33% 0.069 320.1)
XYZxyz(1.9793, 1.2946, 3.3938)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1334 #193413
analogous
#1E1334 #2E1334 #34132A
triadic
#2E1334 #342E13 #13342E
tetradic
#2E1334 #341E13 #193413 #132A34
square
#2E1334 #341E13 #193413 #132A34
split-complementary
#2E1334 #2A3413 #13341E
monochromatic
#140816 #140816 #2E1334 #562361 #7D348E

Accessibility & contrast

On white

16.68
#2E1334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2E1334 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1334
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1334#FFFFFF#000000##FFFFFF
##2E13341.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1C35
Deuteranopia (green-blind)
#161F33
Tritanopia (blue-blind)
#2E1821
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2e1334;
/* rgb */ color: rgb(46, 19, 52);
/* oklch */ color: oklch(24.3% 0.069 320.1);
Tailwind
colors: {
  custom: {
    50: '#68526b',
    500: '#2e1334',
    950: '#000000',
  },
}
SCSS
$custom: #2e1334;
$custom-light: #68526b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1334",
  "rgb": {
    "r": 46,
    "g": 19,
    "b": 52
  },
  "hsl": {
    "h": 289.091,
    "s": 46.479,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24326,
    "c": 0.0691,
    "h": 320.1
  },
  "luminance": 0.01295
}

Semantic roles & 50–950 ramp

primary
#2E1334
secondary
#416C37
accent
#D6526A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2E1334

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

Preview Lab → · Contrast checker → · Palette generator →

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