#2E0829#2E0829

#2E0829 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.9% C 0.077 H 333.6°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#2E0829
RGBrgb(46, 8, 41)
HSLhsl(308, 70%, 11%)
HSVhsv(308, 83%, 18%)
CMYKcmyk(0%, 82.6%, 10.9%, 82%)
CIE-LABlab(8.26, 23.94, -12.56)
CIE-LCHlch(8.26, 27.04, 332.33°)
OKLaboklab(21.93% 0.0692 -0.0344)
OKLCHoklch(21.93% 0.077 333.6)
XYZxyz(1.6138, 0.9147, 2.1890)
Luminance0.0092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0829 #082E0D
analogous
#20082E #2E0829 #2E0816
triadic
#2E0829 #292E08 #08292E
tetradic
#2E0829 #2E2008 #082E0D #08162E
square
#2E0829 #2E2008 #082E0D #08162E
split-complementary
#2E0829 #162E08 #082E20
monochromatic
#1A0517 #1A0517 #2E0829 #621157 #961A86

Accessibility & contrast

On white

17.75
#2E0829 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2E0829 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0829
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0829#FFFFFF#000000##FFFFFF
##2E08291.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07142A
Deuteranopia (green-blind)
#141A28
Tritanopia (blue-blind)
#310B17
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2e0829;
/* rgb */ color: rgb(46, 8, 41);
/* oklch */ color: oklch(21.9% 0.077 333.6);
Tailwind
colors: {
  custom: {
    50: '#684b62',
    500: '#2e0829',
    950: '#000000',
  },
}
SCSS
$custom: #2e0829;
$custom-light: #684b62;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0829",
  "rgb": {
    "r": 46,
    "g": 8,
    "b": 41
  },
  "hsl": {
    "h": 307.895,
    "s": 70.37,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21928,
    "c": 0.0773,
    "h": 333.6
  },
  "luminance": 0.00915
}

Semantic roles & 50–950 ramp

primary
#2E0829
secondary
#256D2E
accent
#ED523B
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2E0829

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

Preview Lab → · Contrast checker → · Palette generator →

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