#2E0D38#2E0D38

#2E0D38 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.7% C 0.085 H 317.4°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#2E0D38
RGBrgb(46, 13, 56)
HSLhsl(286, 62%, 14%)
HSVhsv(286, 77%, 22%)
CMYKcmyk(17.9%, 76.8%, 0%, 78%)
CIE-LABlab(10.22, 24.68, -20.50)
CIE-LCHlch(10.22, 32.08, 320.29°)
OKLaboklab(23.67% 0.0625 -0.0574)
OKLCHoklch(23.67% 0.085 317.4)
XYZxyz(1.9843, 1.1543, 3.8589)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0D38 #17380D
analogous
#180D38 #2E0D38 #380D2C
triadic
#2E0D38 #382E0D #0D382E
tetradic
#2E0D38 #38180D #17380D #0D2C38
square
#2E0D38 #38180D #17380D #0D2C38
split-complementary
#2E0D38 #2C380D #0D3818
monochromatic
#140619 #140619 #2E0D38 #57196A #80249B

Accessibility & contrast

On white

17.06
#2E0D38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0D38
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0D38#FFFFFF#000000##FFFFFF
##2E0D381.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011A39
Deuteranopia (green-blind)
#0E1D37
Tritanopia (blue-blind)
#2E1521
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2e0d38;
/* rgb */ color: rgb(46, 13, 56);
/* oklch */ color: oklch(23.7% 0.085 317.4);
Tailwind
colors: {
  custom: {
    50: '#684e6f',
    500: '#2e0d38',
    950: '#000000',
  },
}
SCSS
$custom: #2e0d38;
$custom-light: #684e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0d38",
  "rgb": {
    "r": 46,
    "g": 13,
    "b": 56
  },
  "hsl": {
    "h": 286.047,
    "s": 62.319,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23671,
    "c": 0.08491,
    "h": 317.4
  },
  "luminance": 0.01154
}

Semantic roles & 50–950 ramp

primary
#2E0D38
secondary
#3E732D
accent
#E54268
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2E0D38

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

Preview Lab → · Contrast checker → · Palette generator →

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