#2E082C#2E082C

#2E082C is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.1% C 0.080 H 330.1°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#2E082C
RGBrgb(46, 8, 44)
HSLhsl(303, 70%, 11%)
HSVhsv(303, 83%, 18%)
CMYKcmyk(0%, 82.6%, 4.3%, 82%)
CIE-LABlab(8.45, 24.55, -14.50)
CIE-LCHlch(8.45, 28.51, 329.43°)
OKLaboklab(22.13% 0.0695 -0.04)
OKLCHoklch(22.13% 0.08 330.1)
XYZxyz(1.6682, 0.9365, 2.4753)
Luminance0.0094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E082C #082E0A
analogous
#1D082E #2E082C #2E0819
triadic
#2E082C #2C2E08 #082C2E
tetradic
#2E082C #2E1D08 #082E0A #08192E
square
#2E082C #2E1D08 #082E0A #08192E
split-complementary
#2E082C #192E08 #082E1D
monochromatic
#1A0519 #1A0519 #2E082C #62115E #961A90

Accessibility & contrast

On white

17.69
#2E082C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2E082C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E082C
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E082C#FFFFFF#000000##FFFFFF
##2E082C1.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05152D
Deuteranopia (green-blind)
#131A2B
Tritanopia (blue-blind)
#300C19
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2e082c;
/* rgb */ color: rgb(46, 8, 44);
/* oklch */ color: oklch(22.1% 0.080 330.1);
Tailwind
colors: {
  custom: {
    50: '#684b65',
    500: '#2e082c',
    950: '#000000',
  },
}
SCSS
$custom: #2e082c;
$custom-light: #684b65;
$custom-dark: #000000;
JSON
{
  "hex": "#2e082c",
  "rgb": {
    "r": 46,
    "g": 8,
    "b": 44
  },
  "hsl": {
    "h": 303.158,
    "s": 70.37,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22128,
    "c": 0.08019,
    "h": 330.1
  },
  "luminance": 0.00936
}

Semantic roles & 50–950 ramp

primary
#2E082C
secondary
#256D29
accent
#ED443B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2E082C

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

Preview Lab → · Contrast checker → · Palette generator →

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