#2E0B2E#2E0B2E

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

Color values

HEX#2E0B2E
RGBrgb(46, 11, 46)
HSLhsl(300, 61%, 11%)
HSVhsv(300, 76%, 18%)
CMYKcmyk(0%, 76.1%, 0%, 82%)
CIE-LABlab(9.14, 23.41, -14.90)
CIE-LCHlch(9.14, 27.75, 327.52°)
OKLaboklab(22.67% 0.0652 -0.0412)
OKLCHoklch(22.67% 0.077 327.8)
XYZxyz(1.7395, 1.0176, 2.6890)
Luminance0.0102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0B2E #0B2E0B
analogous
#1C0B2E #2E0B2E #2E0B1C
triadic
#2E0B2E #2E2E0B #0B2E2E
tetradic
#2E0B2E #2E1C0B #0B2E0B #0B1C2E
square
#2E0B2E #2E1C0B #0B2E0B #0B1C2E
split-complementary
#2E0B2E #1C2E0B #0B2E1C
monochromatic
#190619 #190619 #2E0B2E #5F175F #912391

Accessibility & contrast

On white

17.45
#2E0B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0B2E
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0B2E#FFFFFF#000000##FFFFFF
##2E0B2E1.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07172F
Deuteranopia (green-blind)
#131B2D
Tritanopia (blue-blind)
#30101B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2e0b2e;
/* rgb */ color: rgb(46, 11, 46);
/* oklch */ color: oklch(22.7% 0.077 327.8);
Tailwind
colors: {
  custom: {
    50: '#684d67',
    500: '#2e0b2e',
    950: '#000000',
  },
}
SCSS
$custom: #2e0b2e;
$custom-light: #684d67;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0b2e",
  "rgb": {
    "r": 46,
    "g": 11,
    "b": 46
  },
  "hsl": {
    "h": 300,
    "s": 61.404,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22667,
    "c": 0.07714,
    "h": 327.8
  },
  "luminance": 0.01017
}

Semantic roles & 50–950 ramp

primary
#2E0B2E
secondary
#2A6A2A
accent
#E54343
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2E0B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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