#2E072D#2E072D

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

Color values

HEX#2E072D
RGBrgb(46, 7, 45)
HSLhsl(302, 74%, 10%)
HSVhsv(302, 85%, 18%)
CMYKcmyk(0%, 84.8%, 2.2%, 82%)
CIE-LABlab(8.33, 25.29, -15.44)
CIE-LCHlch(8.33, 29.63, 328.59°)
OKLaboklab(22.06% 0.0711 -0.0427)
OKLCHoklch(22.06% 0.083 329)
XYZxyz(1.6763, 0.9224, 2.5719)
Luminance0.0092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E072D #072E08
analogous
#1B072E #2E072D #2E0719
triadic
#2E072D #2D2E07 #072D2E
tetradic
#2E072D #2E1B07 #072E08 #07192E
square
#2E072D #2E1B07 #072E08 #07192E
split-complementary
#2E072D #192E07 #072E1B
monochromatic
#1B041A #1B041A #2E072D #630F61 #981795

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E072D#FFFFFF#000000##FFFFFF
##2E072D1.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)
#03152E
Deuteranopia (green-blind)
#121A2C
Tritanopia (blue-blind)
#300C19
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2e072d;
/* rgb */ color: rgb(46, 7, 45);
/* oklch */ color: oklch(22.1% 0.083 329.0);
Tailwind
colors: {
  custom: {
    50: '#694b66',
    500: '#2e072d',
    950: '#000000',
  },
}
SCSS
$custom: #2e072d;
$custom-light: #694b66;
$custom-dark: #000000;
JSON
{
  "hex": "#2e072d",
  "rgb": {
    "r": 46,
    "g": 7,
    "b": 45
  },
  "hsl": {
    "h": 301.538,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.22061,
    "c": 0.08292,
    "h": 329
  },
  "luminance": 0.00922
}

Semantic roles & 50–950 ramp

primary
#2E072D
secondary
#236E25
accent
#F03C38
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2E072D

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

Preview Lab → · Contrast checker → · Palette generator →

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