#2E072E#2E072E

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

Color values

HEX#2E072E
RGBrgb(46, 7, 46)
HSLhsl(300, 74%, 10%)
HSVhsv(300, 85%, 18%)
CMYKcmyk(0%, 84.8%, 0%, 82%)
CIE-LABlab(8.40, 25.50, -16.08)
CIE-LCHlch(8.40, 30.14, 327.77°)
OKLaboklab(22.13% 0.0711 -0.0445)
OKLCHoklch(22.13% 0.084 328)
XYZxyz(1.6958, 0.9302, 2.6745)
Luminance0.0093 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E072E #072E07
analogous
#1A072E #2E072E #2E071A
triadic
#2E072E #2E2E07 #072E2E
tetradic
#2E072E #2E1A07 #072E07 #071A2E
square
#2E072E #2E1A07 #072E07 #071A2E
split-complementary
#2E072E #1A2E07 #072E1A
monochromatic
#1B041B #1B041B #2E072E #630F63 #981798

Accessibility & contrast

On white

17.71
#2E072E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E072E
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E072E#FFFFFF#000000##FFFFFF
##2E072E1.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03152F
Deuteranopia (green-blind)
#111A2D
Tritanopia (blue-blind)
#300D19
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2e072e;
/* rgb */ color: rgb(46, 7, 46);
/* oklch */ color: oklch(22.1% 0.084 328.0);
Tailwind
colors: {
  custom: {
    50: '#694b67',
    500: '#2e072e',
    950: '#000000',
  },
}
SCSS
$custom: #2e072e;
$custom-light: #694b67;
$custom-dark: #000000;
JSON
{
  "hex": "#2e072e",
  "rgb": {
    "r": 46,
    "g": 7,
    "b": 46
  },
  "hsl": {
    "h": 300,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.22132,
    "c": 0.0839,
    "h": 328
  },
  "luminance": 0.0093
}

Semantic roles & 50–950 ramp

primary
#2E072E
secondary
#236E23
accent
#F03838
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2E072E

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

Preview Lab → · Contrast checker → · Palette generator →

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