#2E0B2D#2E0B2D

#2E0B2D is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.076 H 328.9°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#2E0B2D
RGBrgb(46, 11, 45)
HSLhsl(302, 61%, 11%)
HSVhsv(302, 76%, 18%)
CMYKcmyk(0%, 76.1%, 2.2%, 82%)
CIE-LABlab(9.07, 23.20, -14.26)
CIE-LCHlch(9.07, 27.23, 328.41°)
OKLaboklab(22.6% 0.0652 -0.0393)
OKLCHoklch(22.6% 0.076 328.9)
XYZxyz(1.7200, 1.0098, 2.5864)
Luminance0.0101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0B2D #0B2E0C
analogous
#1D0B2E #2E0B2D #2E0B1B
triadic
#2E0B2D #2D2E0B #0B2D2E
tetradic
#2E0B2D #2E1D0B #0B2E0C #0B1B2E
square
#2E0B2D #2E1D0B #0B2E0C #0B1B2E
split-complementary
#2E0B2D #1B2E0B #0B2E1D
monochromatic
#190618 #190618 #2E0B2D #5F175D #91238E

Accessibility & contrast

On white

17.47
#2E0B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0B2D
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0B2D#FFFFFF#000000##FFFFFF
##2E0B2D1.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08172E
Deuteranopia (green-blind)
#141B2C
Tritanopia (blue-blind)
#300F1A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2e0b2d;
/* rgb */ color: rgb(46, 11, 45);
/* oklch */ color: oklch(22.6% 0.076 328.9);
Tailwind
colors: {
  custom: {
    50: '#684d66',
    500: '#2e0b2d',
    950: '#000000',
  },
}
SCSS
$custom: #2e0b2d;
$custom-light: #684d66;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0b2d",
  "rgb": {
    "r": 46,
    "g": 11,
    "b": 45
  },
  "hsl": {
    "h": 301.714,
    "s": 61.404,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22599,
    "c": 0.07609,
    "h": 328.9
  },
  "luminance": 0.0101
}

Semantic roles & 50–950 ramp

primary
#2E0B2D
secondary
#2A6A2C
accent
#E54843
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2E0B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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