#2E0D2B#2E0D2B

#2E0D2B is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.8% C 0.070 H 331.3°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#2E0D2B
RGBrgb(46, 13, 43)
HSLhsl(305, 56%, 12%)
HSVhsv(305, 72%, 18%)
CMYKcmyk(0%, 71.7%, 6.5%, 82%)
CIE-LABlab(9.35, 21.68, -12.35)
CIE-LCHlch(9.35, 24.95, 330.33°)
OKLaboklab(22.76% 0.0618 -0.0338)
OKLCHoklch(22.76% 0.07 331.3)
XYZxyz(1.7067, 1.0432, 2.3965)
Luminance0.0104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0D2B #0D2E10
analogous
#210D2E #2E0D2B #2E0D1B
triadic
#2E0D2B #2B2E0D #0D2B2E
tetradic
#2E0D2B #2E210D #0D2E10 #0D1B2E
square
#2E0D2B #2E210D #0D2E10 #0D1B2E
split-complementary
#2E0D2B #1B2E0D #0D2E21
monochromatic
#180716 #180716 #2E0D2B #5E1A58 #8D2884

Accessibility & contrast

On white

17.38
#2E0D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0D2B
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0D2B#FFFFFF#000000##FFFFFF
##2E0D2B1.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B172C
Deuteranopia (green-blind)
#161C2A
Tritanopia (blue-blind)
#30101A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2e0d2b;
/* rgb */ color: rgb(46, 13, 43);
/* oklch */ color: oklch(22.8% 0.070 331.3);
Tailwind
colors: {
  custom: {
    50: '#684e64',
    500: '#2e0d2b',
    950: '#000000',
  },
}
SCSS
$custom: #2e0d2b;
$custom-light: #684e64;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0d2b",
  "rgb": {
    "r": 46,
    "g": 13,
    "b": 43
  },
  "hsl": {
    "h": 305.455,
    "s": 55.932,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22759,
    "c": 0.0704,
    "h": 331.3
  },
  "luminance": 0.01043
}

Semantic roles & 50–950 ramp

primary
#2E0D2B
secondary
#2E6933
accent
#DF5649
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2E0D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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