#2E042B#2E042B

#2E042B is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.5% C 0.087 H 331.3°. Best body text is #FFFFFF at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#2E042B
RGBrgb(46, 4, 43)
HSLhsl(304, 84%, 10%)
HSVhsv(304, 91%, 18%)
CMYKcmyk(0%, 91.3%, 6.5%, 82%)
CIE-LABlab(7.61, 26.55, -15.08)
CIE-LCHlch(7.61, 30.54, 330.40°)
OKLaboklab(21.5% 0.0759 -0.0416)
OKLCHoklch(21.5% 0.087 331.3)
XYZxyz(1.6062, 0.8422, 2.3630)
Luminance0.0084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E042B #042E07
analogous
#1C042E #2E042B #2E0416
triadic
#2E042B #2B2E04 #042B2E
tetradic
#2E042B #2E1C04 #042E07 #04162E
square
#2E042B #2E1C04 #042E07 #04162E
split-complementary
#2E042B #162E04 #042E1C
monochromatic
#1C021A #1C021A #2E042B #660960 #9F0E94

Accessibility & contrast

On white

17.97
#2E042B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E042B
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E042B#FFFFFF#000000##FFFFFF
##2E042B1.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02132C
Deuteranopia (green-blind)
#11192A
Tritanopia (blue-blind)
#300817
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2e042b;
/* rgb */ color: rgb(46, 4, 43);
/* oklch */ color: oklch(21.5% 0.087 331.3);
Tailwind
colors: {
  custom: {
    50: '#694964',
    500: '#2e042b',
    950: '#000000',
  },
}
SCSS
$custom: #2e042b;
$custom-light: #694964;
$custom-dark: #000000;
JSON
{
  "hex": "#2e042b",
  "rgb": {
    "r": 46,
    "g": 4,
    "b": 43
  },
  "hsl": {
    "h": 304.286,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21497,
    "c": 0.08658,
    "h": 331.3
  },
  "luminance": 0.00842
}

Semantic roles & 50–950 ramp

primary
#2E042B
secondary
#1D7123
accent
#FA3C2E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2E042B

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

Preview Lab → · Contrast checker → · Palette generator →

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