#2E0D2F#2E0D2F

#2E0D2F is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.0% C 0.075 H 326.5°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#2E0D2F
RGBrgb(46, 13, 47)
HSLhsl(298, 57%, 12%)
HSVhsv(298, 72%, 18%)
CMYKcmyk(2.1%, 72.3%, 0%, 81.6%)
CIE-LABlab(9.59, 22.56, -14.92)
CIE-LCHlch(9.59, 27.04, 326.51°)
OKLaboklab(23.02% 0.0623 -0.0412)
OKLCHoklch(23.02% 0.075 326.5)
XYZxyz(1.7837, 1.0740, 2.8021)
Luminance0.0107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0D2F #0E2F0D
analogous
#1D0D2F #2E0D2F #2F0D1F
triadic
#2E0D2F #2F2E0D #0D2F2E
tetradic
#2E0D2F #2F1D0D #0E2F0D #0D1F2F
square
#2E0D2F #2F1D0D #0E2F0D #0D1F2F
split-complementary
#2E0D2F #1F2F0D #0D2F1D
monochromatic
#170718 #170718 #2E0D2F #5D1A5F #8C288F

Accessibility & contrast

On white

17.29
#2E0D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0D2F
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0D2F#FFFFFF#000000##FFFFFF
##2E0D2F1.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081830
Deuteranopia (green-blind)
#141C2E
Tritanopia (blue-blind)
#2F111C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2e0d2f;
/* rgb */ color: rgb(46, 13, 47);
/* oklch */ color: oklch(23.0% 0.075 326.5);
Tailwind
colors: {
  custom: {
    50: '#684e67',
    500: '#2e0d2f',
    950: '#000000',
  },
}
SCSS
$custom: #2e0d2f;
$custom-light: #684e67;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0d2f",
  "rgb": {
    "r": 46,
    "g": 13,
    "b": 47
  },
  "hsl": {
    "h": 298.235,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.23019,
    "c": 0.07469,
    "h": 326.5
  },
  "luminance": 0.01074
}

Semantic roles & 50–950 ramp

primary
#2E0D2F
secondary
#306A2E
accent
#E0484C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2E0D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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