#2E1031#2E1031

#2E1031 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.6% C 0.071 H 323.9°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#2E1031
RGBrgb(46, 16, 49)
HSLhsl(295, 51%, 13%)
HSVhsv(295, 67%, 19%)
CMYKcmyk(6.1%, 67.3%, 0%, 80.8%)
CIE-LABlab(10.36, 21.28, -15.18)
CIE-LCHlch(10.36, 26.14, 324.49°)
OKLaboklab(23.62% 0.0577 -0.042)
OKLCHoklch(23.62% 0.071 323.9)
XYZxyz(1.8663, 1.1733, 3.0333)
Luminance0.0117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1031 #133110
analogous
#1D1031 #2E1031 #311023
triadic
#2E1031 #312E10 #10312E
tetradic
#2E1031 #311D10 #133110 #102331
square
#2E1031 #311D10 #133110 #102331
split-complementary
#2E1031 #233110 #10311D
monochromatic
#160817 #160817 #2E1031 #591F5F #852E8D

Accessibility & contrast

On white

17.01
#2E1031 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2E1031 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1031
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1031#FFFFFF#000000##FFFFFF
##2E10311.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1A32
Deuteranopia (green-blind)
#151D30
Tritanopia (blue-blind)
#2F141E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2e1031;
/* rgb */ color: rgb(46, 16, 49);
/* oklch */ color: oklch(23.6% 0.071 323.9);
Tailwind
colors: {
  custom: {
    50: '#685069',
    500: '#2e1031',
    950: '#000000',
  },
}
SCSS
$custom: #2e1031;
$custom-light: #685069;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1031",
  "rgb": {
    "r": 46,
    "g": 16,
    "b": 49
  },
  "hsl": {
    "h": 294.545,
    "s": 50.769,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23619,
    "c": 0.07134,
    "h": 323.9
  },
  "luminance": 0.01173
}

Semantic roles & 50–950 ramp

primary
#2E1031
secondary
#386A33
accent
#DA4E5A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2E1031

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

Preview Lab → · Contrast checker → · Palette generator →

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