#2E0B2F#2E0B2F

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

Color values

HEX#2E0B2F
RGBrgb(46, 11, 47)
HSLhsl(298, 62%, 11%)
HSVhsv(298, 77%, 18%)
CMYKcmyk(2.1%, 76.6%, 0%, 81.6%)
CIE-LABlab(9.20, 23.64, -15.54)
CIE-LCHlch(9.20, 28.29, 326.68°)
OKLaboklab(22.74% 0.0653 -0.043)
OKLCHoklch(22.74% 0.078 326.6)
XYZxyz(1.7594, 1.0255, 2.7940)
Luminance0.0103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0B2F #0C2F0B
analogous
#1C0B2F #2E0B2F #2F0B1E
triadic
#2E0B2F #2F2E0B #0B2F2E
tetradic
#2E0B2F #2F1C0B #0C2F0B #0B1E2F
square
#2E0B2F #2F1C0B #0C2F0B #0B1E2F
split-complementary
#2E0B2F #1E2F0B #0B2F1C
monochromatic
#180619 #180619 #2E0B2F #5F1761 #8F2292

Accessibility & contrast

On white

17.43
#2E0B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0B2F
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0B2F#FFFFFF#000000##FFFFFF
##2E0B2F1.0017.431.2117.43
#FFFFFF17.431.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061730
Deuteranopia (green-blind)
#131B2E
Tritanopia (blue-blind)
#2F101B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2e0b2f;
/* rgb */ color: rgb(46, 11, 47);
/* oklch */ color: oklch(22.7% 0.078 326.6);
Tailwind
colors: {
  custom: {
    50: '#684d67',
    500: '#2e0b2f',
    950: '#000000',
  },
}
SCSS
$custom: #2e0b2f;
$custom-light: #684d67;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0b2f",
  "rgb": {
    "r": 46,
    "g": 11,
    "b": 47
  },
  "hsl": {
    "h": 298.333,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22735,
    "c": 0.07819,
    "h": 326.6
  },
  "luminance": 0.01025
}

Semantic roles & 50–950 ramp

primary
#2E0B2F
secondary
#2C6B2A
accent
#E54347
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2E0B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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