#2E0D2A#2E0D2A

#2E0D2A is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.069 H 332.6°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#2E0D2A
RGBrgb(46, 13, 42)
HSLhsl(307, 56%, 12%)
HSVhsv(307, 72%, 18%)
CMYKcmyk(0%, 71.7%, 8.7%, 82%)
CIE-LABlab(9.29, 21.47, -11.70)
CIE-LCHlch(9.29, 24.45, 331.42°)
OKLaboklab(22.7% 0.0616 -0.0319)
OKLCHoklch(22.7% 0.069 332.6)
XYZxyz(1.6886, 1.0360, 2.3011)
Luminance0.0104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0D2A #0D2E11
analogous
#220D2E #2E0D2A #2E0D1A
triadic
#2E0D2A #2A2E0D #0D2A2E
tetradic
#2E0D2A #2E220D #0D2E11 #0D1A2E
square
#2E0D2A #2E220D #0D2E11 #0D1A2E
split-complementary
#2E0D2A #1A2E0D #0D2E22
monochromatic
#180716 #180716 #2E0D2A #5E1A56 #8D2881

Accessibility & contrast

On white

17.40
#2E0D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2E0D2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0D2A
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0D2A#FFFFFF#000000##FFFFFF
##2E0D2A1.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C172B
Deuteranopia (green-blind)
#161C29
Tritanopia (blue-blind)
#301019
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2e0d2a;
/* rgb */ color: rgb(46, 13, 42);
/* oklch */ color: oklch(22.7% 0.069 332.6);
Tailwind
colors: {
  custom: {
    50: '#684e63',
    500: '#2e0d2a',
    950: '#000000',
  },
}
SCSS
$custom: #2e0d2a;
$custom-light: #684e63;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0d2a",
  "rgb": {
    "r": 46,
    "g": 13,
    "b": 42
  },
  "hsl": {
    "h": 307.273,
    "s": 55.932,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22696,
    "c": 0.06938,
    "h": 332.6
  },
  "luminance": 0.01036
}

Semantic roles & 50–950 ramp

primary
#2E0D2A
secondary
#2E6935
accent
#DF5B49
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2E0D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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