#2E072A#2E072A

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

Color values

HEX#2E072A
RGBrgb(46, 7, 42)
HSLhsl(306, 74%, 10%)
HSVhsv(306, 85%, 18%)
CMYKcmyk(0%, 84.8%, 8.7%, 82%)
CIE-LABlab(8.13, 24.68, -13.51)
CIE-LCHlch(8.13, 28.14, 331.31°)
OKLaboklab(21.86% 0.0709 -0.0371)
OKLCHoklch(21.86% 0.08 332.4)
XYZxyz(1.6206, 0.9001, 2.2784)
Luminance0.0090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E072A #072E0B
analogous
#1E072E #2E072A #2E0716
triadic
#2E072A #2A2E07 #072A2E
tetradic
#2E072A #2E1E07 #072E0B #07162E
square
#2E072A #2E1E07 #072E0B #07162E
split-complementary
#2E072A #162E07 #072E1E
monochromatic
#1B0418 #1B0418 #2E072A #630F5A #98178B

Accessibility & contrast

On white

17.80
#2E072A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E072A
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E072A#FFFFFF#000000##FFFFFF
##2E072A1.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05142B
Deuteranopia (green-blind)
#131A29
Tritanopia (blue-blind)
#300B17
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2e072a;
/* rgb */ color: rgb(46, 7, 42);
/* oklch */ color: oklch(21.9% 0.080 332.4);
Tailwind
colors: {
  custom: {
    50: '#694b63',
    500: '#2e072a',
    950: '#000000',
  },
}
SCSS
$custom: #2e072a;
$custom-light: #694b63;
$custom-dark: #000000;
JSON
{
  "hex": "#2e072a",
  "rgb": {
    "r": 46,
    "g": 7,
    "b": 42
  },
  "hsl": {
    "h": 306.154,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21855,
    "c": 0.08004,
    "h": 332.4
  },
  "luminance": 0.009
}

Semantic roles & 50–950 ramp

primary
#2E072A
secondary
#236E2B
accent
#F04A38
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2E072A

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

Preview Lab → · Contrast checker → · Palette generator →

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