#2E072F#2E072F

#2E072F is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.2% C 0.085 H 326.9°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#2E072F
RGBrgb(46, 7, 47)
HSLhsl(299, 74%, 11%)
HSVhsv(299, 85%, 18%)
CMYKcmyk(2.1%, 85.1%, 0%, 81.6%)
CIE-LABlab(8.47, 25.71, -16.71)
CIE-LCHlch(8.47, 30.66, 326.98°)
OKLaboklab(22.2% 0.0711 -0.0463)
OKLCHoklch(22.2% 0.085 326.9)
XYZxyz(1.7158, 0.9382, 2.7795)
Luminance0.0094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E072F #082F07
analogous
#1A072F #2E072F #2F071C
triadic
#2E072F #2F2E07 #072F2E
tetradic
#2E072F #2F1A07 #082F07 #071C2F
square
#2E072F #2F1A07 #082F07 #071C2F
split-complementary
#2E072F #1C2F07 #072F1A
monochromatic
#1A041B #1A041B #2E072F #620F64 #96179A

Accessibility & contrast

On white

17.68
#2E072F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E072F
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E072F#FFFFFF#000000##FFFFFF
##2E072F1.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021530
Deuteranopia (green-blind)
#101A2E
Tritanopia (blue-blind)
#300D1A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2e072f;
/* rgb */ color: rgb(46, 7, 47);
/* oklch */ color: oklch(22.2% 0.085 326.9);
Tailwind
colors: {
  custom: {
    50: '#694b67',
    500: '#2e072f',
    950: '#000000',
  },
}
SCSS
$custom: #2e072f;
$custom-light: #694b67;
$custom-dark: #000000;
JSON
{
  "hex": "#2e072f",
  "rgb": {
    "r": 46,
    "g": 7,
    "b": 47
  },
  "hsl": {
    "h": 298.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22204,
    "c": 0.0849,
    "h": 326.9
  },
  "luminance": 0.00938
}

Semantic roles & 50–950 ramp

primary
#2E072F
secondary
#256F23
accent
#F1373C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2E072F

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

Preview Lab → · Contrast checker → · Palette generator →

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