#2E0B2A#2E0B2A

#2E0B2A is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.4% C 0.073 H 332.5°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#2E0B2A
RGBrgb(46, 11, 42)
HSLhsl(307, 61%, 11%)
HSVhsv(307, 76%, 18%)
CMYKcmyk(0%, 76.1%, 8.7%, 82%)
CIE-LABlab(8.89, 22.57, -12.32)
CIE-LCHlch(8.89, 25.71, 331.36°)
OKLaboklab(22.4% 0.0648 -0.0337)
OKLCHoklch(22.4% 0.073 332.5)
XYZxyz(1.6643, 0.9875, 2.2930)
Luminance0.0099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0B2A #0B2E0F
analogous
#200B2E #2E0B2A #2E0B18
triadic
#2E0B2A #2A2E0B #0B2A2E
tetradic
#2E0B2A #2E200B #0B2E0F #0B182E
square
#2E0B2A #2E200B #0B2E0F #0B182E
split-complementary
#2E0B2A #182E0B #0B2E20
monochromatic
#190617 #190617 #2E0B2A #5F1757 #912384

Accessibility & contrast

On white

17.54
#2E0B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2E0B2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0B2A
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0B2A#FFFFFF#000000##FFFFFF
##2E0B2A1.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A162B
Deuteranopia (green-blind)
#151B29
Tritanopia (blue-blind)
#300E19
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2e0b2a;
/* rgb */ color: rgb(46, 11, 42);
/* oklch */ color: oklch(22.4% 0.073 332.5);
Tailwind
colors: {
  custom: {
    50: '#684d63',
    500: '#2e0b2a',
    950: '#000000',
  },
}
SCSS
$custom: #2e0b2a;
$custom-light: #684d63;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0b2a",
  "rgb": {
    "r": 46,
    "g": 11,
    "b": 42
  },
  "hsl": {
    "h": 306.857,
    "s": 61.404,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22404,
    "c": 0.07302,
    "h": 332.5
  },
  "luminance": 0.00987
}

Semantic roles & 50–950 ramp

primary
#2E0B2A
secondary
#2A6A32
accent
#E55643
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2E0B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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