#2E073A#2E073A

#2E073A is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.1% C 0.096 H 316.8°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#2E073A
RGBrgb(46, 7, 58)
HSLhsl(286, 78%, 13%)
HSVhsv(286, 88%, 23%)
CMYKcmyk(20.7%, 87.9%, 0%, 77.3%)
CIE-LABlab(9.31, 28.18, -23.40)
CIE-LCHlch(9.31, 36.62, 320.29°)
OKLaboklab(23.07% 0.0701 -0.0659)
OKLCHoklch(23.07% 0.096 316.8)
XYZxyz(1.9663, 1.0384, 4.0990)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E073A #133A07
analogous
#14073A #2E073A #3A072D
triadic
#2E073A #3A2E07 #073A2E
tetradic
#2E073A #3A1407 #133A07 #072D3A
square
#2E073A #3A1407 #133A07 #072D3A
split-complementary
#2E073A #2D3A07 #073A14
monochromatic
#16031B #16031B #2E073A #590E71 #8514A7

Accessibility & contrast

On white

17.39
#2E073A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2E073A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E073A
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E073A#FFFFFF#000000##FFFFFF
##2E073A1.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183B
Deuteranopia (green-blind)
#071B39
Tritanopia (blue-blind)
#2D1220
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2e073a;
/* rgb */ color: rgb(46, 7, 58);
/* oklch */ color: oklch(23.1% 0.096 316.8);
Tailwind
colors: {
  custom: {
    50: '#694b70',
    500: '#2e073a',
    950: '#000000',
  },
}
SCSS
$custom: #2e073a;
$custom-light: #694b70;
$custom-dark: #000000;
JSON
{
  "hex": "#2e073a",
  "rgb": {
    "r": 46,
    "g": 7,
    "b": 58
  },
  "hsl": {
    "h": 285.882,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23073,
    "c": 0.09622,
    "h": 316.8
  },
  "luminance": 0.01038
}

Semantic roles & 50–950 ramp

primary
#2E073A
secondary
#387923
accent
#F53361
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2E073A

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

Preview Lab → · Contrast checker → · Palette generator →

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