#2E0836#2E0836

#2E0836 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.9% C 0.090 H 320.0°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#2E0836
RGBrgb(46, 8, 54)
HSLhsl(290, 74%, 12%)
HSVhsv(290, 85%, 21%)
CMYKcmyk(14.8%, 85.2%, 0%, 78.8%)
CIE-LABlab(9.16, 26.74, -20.73)
CIE-LCHlch(9.16, 33.83, 322.21°)
OKLaboklab(22.87% 0.0693 -0.0581)
OKLCHoklch(22.87% 0.09 320)
XYZxyz(1.8793, 1.0209, 3.5874)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0836 #103608
analogous
#170836 #2E0836 #360827
triadic
#2E0836 #362E08 #08362E
tetradic
#2E0836 #361708 #103608 #082736
square
#2E0836 #361708 #103608 #082736
split-complementary
#2E0836 #273608 #083617
monochromatic
#17041B #17041B #2E0836 #5B106B #8918A1

Accessibility & contrast

On white

17.44
#2E0836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0836
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0836#FFFFFF#000000##FFFFFF
##2E08361.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001737
Deuteranopia (green-blind)
#0C1B35
Tritanopia (blue-blind)
#2E111E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2e0836;
/* rgb */ color: rgb(46, 8, 54);
/* oklch */ color: oklch(22.9% 0.090 320.0);
Tailwind
colors: {
  custom: {
    50: '#694c6d',
    500: '#2e0836',
    950: '#000000',
  },
}
SCSS
$custom: #2e0836;
$custom-light: #694c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0836",
  "rgb": {
    "r": 46,
    "g": 8,
    "b": 54
  },
  "hsl": {
    "h": 289.565,
    "s": 74.194,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2287,
    "c": 0.09045,
    "h": 320
  },
  "luminance": 0.01021
}

Semantic roles & 50–950 ramp

primary
#2E0836
secondary
#337525
accent
#F13757
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2E0836

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

Preview Lab → · Contrast checker → · Palette generator →

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