#2E042F#2E042F

#2E042F is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.8% C 0.090 H 327.1°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#2E042F
RGBrgb(46, 4, 47)
HSLhsl(299, 84%, 10%)
HSVhsv(299, 91%, 18%)
CMYKcmyk(2.1%, 91.5%, 0%, 81.6%)
CIE-LABlab(7.89, 27.37, -17.63)
CIE-LCHlch(7.89, 32.56, 327.22°)
OKLaboklab(21.79% 0.0758 -0.049)
OKLCHoklch(21.79% 0.09 327.1)
XYZxyz(1.6832, 0.8730, 2.7686)
Luminance0.0087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E042F #052F04
analogous
#19042F #2E042F #2F041A
triadic
#2E042F #2F2E04 #042F2E
tetradic
#2E042F #2F1904 #052F04 #041A2F
square
#2E042F #2F1904 #052F04 #041A2F
split-complementary
#2E042F #1A2F04 #042F19
monochromatic
#1C021C #1C021C #2E042F #650967 #9C0EA0

Accessibility & contrast

On white

17.88
#2E042F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E042F
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E042F#FFFFFF#000000##FFFFFF
##2E042F1.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001430
Deuteranopia (green-blind)
#0F192E
Tritanopia (blue-blind)
#300A19
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2e042f;
/* rgb */ color: rgb(46, 4, 47);
/* oklch */ color: oklch(21.8% 0.090 327.1);
Tailwind
colors: {
  custom: {
    50: '#694968',
    500: '#2e042f',
    950: '#000000',
  },
}
SCSS
$custom: #2e042f;
$custom-light: #694968;
$custom-dark: #000000;
JSON
{
  "hex": "#2e042f",
  "rgb": {
    "r": 46,
    "g": 4,
    "b": 47
  },
  "hsl": {
    "h": 298.605,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.21791,
    "c": 0.09026,
    "h": 327.1
  },
  "luminance": 0.00873
}

Semantic roles & 50–950 ramp

primary
#2E042F
secondary
#1F721D
accent
#FB2D32
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2E042F

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

Preview Lab → · Contrast checker → · Palette generator →

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