#2E072B#2E072B

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

Color values

HEX#2E072B
RGBrgb(46, 7, 43)
HSLhsl(305, 74%, 10%)
HSVhsv(305, 85%, 18%)
CMYKcmyk(0%, 84.8%, 6.5%, 82%)
CIE-LABlab(8.19, 24.88, -14.16)
CIE-LCHlch(8.19, 28.63, 330.36°)
OKLaboklab(21.92% 0.071 -0.039)
OKLCHoklch(21.92% 0.081 331.2)
XYZxyz(1.6387, 0.9073, 2.3739)
Luminance0.0091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E072B #072E0A
analogous
#1D072E #2E072B #2E0717
triadic
#2E072B #2B2E07 #072B2E
tetradic
#2E072B #2E1D07 #072E0A #07172E
square
#2E072B #2E1D07 #072E0A #07172E
split-complementary
#2E072B #172E07 #072E1D
monochromatic
#1B0419 #1B0419 #2E072B #630F5D #98178E

Accessibility & contrast

On white

17.78
#2E072B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E072B
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E072B#FFFFFF#000000##FFFFFF
##2E072B1.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05142C
Deuteranopia (green-blind)
#131A2A
Tritanopia (blue-blind)
#300B18
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2e072b;
/* rgb */ color: rgb(46, 7, 43);
/* oklch */ color: oklch(21.9% 0.081 331.2);
Tailwind
colors: {
  custom: {
    50: '#694b64',
    500: '#2e072b',
    950: '#000000',
  },
}
SCSS
$custom: #2e072b;
$custom-light: #694b64;
$custom-dark: #000000;
JSON
{
  "hex": "#2e072b",
  "rgb": {
    "r": 46,
    "g": 7,
    "b": 43
  },
  "hsl": {
    "h": 304.615,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21922,
    "c": 0.08099,
    "h": 331.2
  },
  "luminance": 0.00907
}

Semantic roles & 50–950 ramp

primary
#2E072B
secondary
#236E29
accent
#F04638
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2E072B

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

Preview Lab → · Contrast checker → · Palette generator →

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