#2E042E#2E042E

#2E042E is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.7% C 0.089 H 328.1°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#2E042E
RGBrgb(46, 4, 46)
HSLhsl(300, 84%, 10%)
HSVhsv(300, 91%, 18%)
CMYKcmyk(0%, 91.3%, 0%, 82%)
CIE-LABlab(7.81, 27.16, -17.00)
CIE-LCHlch(7.81, 32.04, 327.96°)
OKLaboklab(21.72% 0.0759 -0.0472)
OKLCHoklch(21.72% 0.089 328.1)
XYZxyz(1.6633, 0.8651, 2.6636)
Luminance0.0086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E042E #042E04
analogous
#19042E #2E042E #2E0419
triadic
#2E042E #2E2E04 #042E2E
tetradic
#2E042E #2E1904 #042E04 #04192E
square
#2E042E #2E1904 #042E04 #04192E
split-complementary
#2E042E #192E04 #042E19
monochromatic
#1C021C #1C021C #2E042E #660966 #9F0E9F

Accessibility & contrast

On white

17.90
#2E042E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E042E
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E042E#FFFFFF#000000##FFFFFF
##2E042E1.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00142F
Deuteranopia (green-blind)
#0F192D
Tritanopia (blue-blind)
#300A18
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2e042e;
/* rgb */ color: rgb(46, 4, 46);
/* oklch */ color: oklch(21.7% 0.089 328.1);
Tailwind
colors: {
  custom: {
    50: '#694967',
    500: '#2e042e',
    950: '#000000',
  },
}
SCSS
$custom: #2e042e;
$custom-light: #694967;
$custom-dark: #000000;
JSON
{
  "hex": "#2e042e",
  "rgb": {
    "r": 46,
    "g": 4,
    "b": 46
  },
  "hsl": {
    "h": 300,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21716,
    "c": 0.08932,
    "h": 328.1
  },
  "luminance": 0.00865
}

Semantic roles & 50–950 ramp

primary
#2E042E
secondary
#1D711D
accent
#FA2E2E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2E042E

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

Preview Lab → · Contrast checker → · Palette generator →

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