#2E1037#2E1037

#2E1037 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.0% C 0.079 H 317.7°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#2E1037
RGBrgb(46, 16, 55)
HSLhsl(286, 55%, 14%)
HSVhsv(286, 71%, 22%)
CMYKcmyk(16.4%, 70.9%, 0%, 78.4%)
CIE-LABlab(10.76, 22.74, -18.91)
CIE-LCHlch(10.76, 29.58, 320.25°)
OKLaboklab(24.04% 0.0581 -0.0528)
OKLCHoklch(24.04% 0.079 317.7)
XYZxyz(2.0015, 1.2273, 3.7452)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1037 #193710
analogous
#1B1037 #2E1037 #37102D
triadic
#2E1037 #372E10 #10372E
tetradic
#2E1037 #371B10 #193710 #102D37
square
#2E1037 #371B10 #193710 #102D37
split-complementary
#2E1037 #2D3710 #10371B
monochromatic
#140718 #140718 #2E1037 #561E66 #7D2C96

Accessibility & contrast

On white

16.86
#2E1037 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2E1037 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1037
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1037#FFFFFF#000000##FFFFFF
##2E10371.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061B38
Deuteranopia (green-blind)
#111E36
Tritanopia (blue-blind)
#2E1721
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2e1037;
/* rgb */ color: rgb(46, 16, 55);
/* oklch */ color: oklch(24.0% 0.079 317.7);
Tailwind
colors: {
  custom: {
    50: '#68506e',
    500: '#2e1037',
    950: '#000000',
  },
}
SCSS
$custom: #2e1037;
$custom-light: #68506e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1037",
  "rgb": {
    "r": 46,
    "g": 16,
    "b": 55
  },
  "hsl": {
    "h": 286.154,
    "s": 54.93,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24039,
    "c": 0.07853,
    "h": 317.7
  },
  "luminance": 0.01227
}

Semantic roles & 50–950 ramp

primary
#2E1037
secondary
#417132
accent
#DE4A6C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2E1037

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

Preview Lab → · Contrast checker → · Palette generator →

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