#2E0831#2E0831

#2E0831 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.5% C 0.085 H 324.8°. Best body text is #FFFFFF at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#2E0831
RGBrgb(46, 8, 49)
HSLhsl(296, 72%, 11%)
HSVhsv(296, 84%, 19%)
CMYKcmyk(6.1%, 83.7%, 0%, 80.8%)
CIE-LABlab(8.79, 25.61, -17.66)
CIE-LCHlch(8.79, 31.11, 325.41°)
OKLaboklab(22.49% 0.0696 -0.0491)
OKLCHoklch(22.49% 0.085 324.8)
XYZxyz(1.7679, 0.9764, 3.0005)
Luminance0.0098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0831 #0B3108
analogous
#190831 #2E0831 #31081F
triadic
#2E0831 #312E08 #08312E
tetradic
#2E0831 #311908 #0B3108 #081F31
square
#2E0831 #311908 #0B3108 #081F31
split-complementary
#2E0831 #1F3108 #083119
monochromatic
#19041A #19041A #2E0831 #5F1166 #91199A

Accessibility & contrast

On white

17.57
#2E0831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2E0831 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0831
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0831#FFFFFF#000000##FFFFFF
##2E08311.0017.571.2017.57
#FFFFFF17.571.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011632
Deuteranopia (green-blind)
#101B30
Tritanopia (blue-blind)
#2F0F1B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2e0831;
/* rgb */ color: rgb(46, 8, 49);
/* oklch */ color: oklch(22.5% 0.085 324.8);
Tailwind
colors: {
  custom: {
    50: '#694b69',
    500: '#2e0831',
    950: '#000000',
  },
}
SCSS
$custom: #2e0831;
$custom-light: #694b69;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0831",
  "rgb": {
    "r": 46,
    "g": 8,
    "b": 49
  },
  "hsl": {
    "h": 295.61,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22485,
    "c": 0.08522,
    "h": 324.8
  },
  "luminance": 0.00976
}

Semantic roles & 50–950 ramp

primary
#2E0831
secondary
#2A7025
accent
#EF3946
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2E0831

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

Preview Lab → · Contrast checker → · Palette generator →

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