#2E0431#2E0431

#2E0431 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.9% C 0.092 H 325.2°. Best body text is #FFFFFF at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#2E0431
RGBrgb(46, 4, 49)
HSLhsl(296, 85%, 10%)
HSVhsv(296, 92%, 19%)
CMYKcmyk(6.1%, 91.8%, 0%, 80.8%)
CIE-LABlab(8.03, 27.79, -18.87)
CIE-LCHlch(8.03, 33.59, 325.81°)
OKLaboklab(21.95% 0.0756 -0.0526)
OKLCHoklch(21.95% 0.092 325.2)
XYZxyz(1.7245, 0.8895, 2.9860)
Luminance0.0089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0431 #073104
analogous
#170431 #2E0431 #31041D
triadic
#2E0431 #312E04 #04312E
tetradic
#2E0431 #311704 #073104 #041D31
square
#2E0431 #311704 #073104 #041D31
split-complementary
#2E0431 #1D3104 #043117
monochromatic
#1B021C #1B021C #2E0431 #63096A #980DA2

Accessibility & contrast

On white

17.83
#2E0431 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2E0431 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0431
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0431#FFFFFF#000000##FFFFFF
##2E04311.0017.831.1817.83
#FFFFFF17.831.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001432
Deuteranopia (green-blind)
#0D1930
Tritanopia (blue-blind)
#2F0C1A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2e0431;
/* rgb */ color: rgb(46, 4, 49);
/* oklch */ color: oklch(21.9% 0.092 325.2);
Tailwind
colors: {
  custom: {
    50: '#694969',
    500: '#2e0431',
    950: '#000000',
  },
}
SCSS
$custom: #2e0431;
$custom-light: #694969;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0431",
  "rgb": {
    "r": 46,
    "g": 4,
    "b": 49
  },
  "hsl": {
    "h": 296,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21945,
    "c": 0.09214,
    "h": 325.2
  },
  "luminance": 0.00889
}

Semantic roles & 50–950 ramp

primary
#2E0431
secondary
#23731D
accent
#FB2D3A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2E0431

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

Preview Lab → · Contrast checker → · Palette generator →

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