#2E082A#2E082A

#2E082A is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.0% C 0.078 H 332.4°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#2E082A
RGBrgb(46, 8, 42)
HSLhsl(306, 70%, 11%)
HSVhsv(306, 83%, 18%)
CMYKcmyk(0%, 82.6%, 8.7%, 82%)
CIE-LABlab(8.32, 24.14, -13.21)
CIE-LCHlch(8.32, 27.52, 331.32°)
OKLaboklab(21.99% 0.0694 -0.0362)
OKLCHoklch(21.99% 0.078 332.4)
XYZxyz(1.6315, 0.9218, 2.2820)
Luminance0.0092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E082A #082E0C
analogous
#1F082E #2E082A #2E0817
triadic
#2E082A #2A2E08 #082A2E
tetradic
#2E082A #2E1F08 #082E0C #08172E
square
#2E082A #2E1F08 #082E0C #08172E
split-complementary
#2E082A #172E08 #082E1F
monochromatic
#1A0518 #1A0518 #2E082A #62115A #961A89

Accessibility & contrast

On white

17.73
#2E082A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E082A
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E082A#FFFFFF#000000##FFFFFF
##2E082A1.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07152B
Deuteranopia (green-blind)
#141A29
Tritanopia (blue-blind)
#300C17
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2e082a;
/* rgb */ color: rgb(46, 8, 42);
/* oklch */ color: oklch(22.0% 0.078 332.4);
Tailwind
colors: {
  custom: {
    50: '#684b63',
    500: '#2e082a',
    950: '#000000',
  },
}
SCSS
$custom: #2e082a;
$custom-light: #684b63;
$custom-dark: #000000;
JSON
{
  "hex": "#2e082a",
  "rgb": {
    "r": 46,
    "g": 8,
    "b": 42
  },
  "hsl": {
    "h": 306.316,
    "s": 70.37,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21994,
    "c": 0.07824,
    "h": 332.4
  },
  "luminance": 0.00922
}

Semantic roles & 50–950 ramp

primary
#2E082A
secondary
#256D2D
accent
#ED4D3B
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2E082A

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

Preview Lab → · Contrast checker → · Palette generator →

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