#2E042A#2E042A

#2E042A is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.4% C 0.086 H 332.3°. Best body text is #FFFFFF at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#2E042A
RGBrgb(46, 4, 42)
HSLhsl(306, 84%, 10%)
HSVhsv(306, 91%, 18%)
CMYKcmyk(0%, 91.3%, 8.7%, 82%)
CIE-LABlab(7.54, 26.35, -14.44)
CIE-LCHlch(7.54, 30.04, 331.28°)
OKLaboklab(21.43% 0.0759 -0.0398)
OKLCHoklch(21.43% 0.086 332.3)
XYZxyz(1.5881, 0.8350, 2.2676)
Luminance0.0083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E042A #042E08
analogous
#1D042E #2E042A #2E0415
triadic
#2E042A #2A2E04 #042A2E
tetradic
#2E042A #2E1D04 #042E08 #04152E
square
#2E042A #2E1D04 #042E08 #04152E
split-complementary
#2E042A #152E04 #042E1D
monochromatic
#1C021A #1C021A #2E042A #66095D #9F0E91

Accessibility & contrast

On white

17.99
#2E042A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2E042A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E042A
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E042A#FFFFFF#000000##FFFFFF
##2E042A1.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02132B
Deuteranopia (green-blind)
#111929
Tritanopia (blue-blind)
#300816
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2e042a;
/* rgb */ color: rgb(46, 4, 42);
/* oklch */ color: oklch(21.4% 0.086 332.3);
Tailwind
colors: {
  custom: {
    50: '#694963',
    500: '#2e042a',
    950: '#000000',
  },
}
SCSS
$custom: #2e042a;
$custom-light: #694963;
$custom-dark: #000000;
JSON
{
  "hex": "#2e042a",
  "rgb": {
    "r": 46,
    "g": 4,
    "b": 42
  },
  "hsl": {
    "h": 305.714,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21427,
    "c": 0.08568,
    "h": 332.3
  },
  "luminance": 0.00835
}

Semantic roles & 50–950 ramp

primary
#2E042A
secondary
#1D7125
accent
#FA412E
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2E042A

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

Preview Lab → · Contrast checker → · Palette generator →

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