#2E0B32#2E0B32

#2E0B32 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 22.9% C 0.081 H 323.5°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#2E0B32
RGBrgb(46, 11, 50)
HSLhsl(294, 64%, 12%)
HSVhsv(294, 78%, 20%)
CMYKcmyk(8%, 78%, 0%, 80.4%)
CIE-LABlab(9.41, 24.31, -17.42)
CIE-LCHlch(9.41, 29.91, 324.37°)
OKLaboklab(22.95% 0.0654 -0.0485)
OKLCHoklch(22.95% 0.081 323.5)
XYZxyz(1.8221, 1.0506, 3.1238)
Luminance0.0105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0B32 #0F320B
analogous
#1B0B32 #2E0B32 #320B23
triadic
#2E0B32 #322E0B #0B322E
tetradic
#2E0B32 #321B0B #0F320B #0B2332
square
#2E0B32 #321B0B #0F320B #0B2332
split-complementary
#2E0B32 #23320B #0B321B
monochromatic
#170619 #170619 #2E0B32 #5C1664 #8A2196

Accessibility & contrast

On white

17.36
#2E0B32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0B32
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0B32#FFFFFF#000000##FFFFFF
##2E0B321.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041833
Deuteranopia (green-blind)
#111C31
Tritanopia (blue-blind)
#2F111D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2e0b32;
/* rgb */ color: rgb(46, 11, 50);
/* oklch */ color: oklch(22.9% 0.081 323.5);
Tailwind
colors: {
  custom: {
    50: '#684d6a',
    500: '#2e0b32',
    950: '#000000',
  },
}
SCSS
$custom: #2e0b32;
$custom-light: #684d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0b32",
  "rgb": {
    "r": 46,
    "g": 11,
    "b": 50
  },
  "hsl": {
    "h": 293.846,
    "s": 63.934,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22948,
    "c": 0.08143,
    "h": 323.5
  },
  "luminance": 0.0105
}

Semantic roles & 50–950 ramp

primary
#2E0B32
secondary
#316F2A
accent
#E74152
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2E0B32

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

Preview Lab → · Contrast checker → · Palette generator →

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