#2E0931#2E0931

#2E0931 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.084 H 324.7°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#2E0931
RGBrgb(46, 9, 49)
HSLhsl(296, 69%, 11%)
HSVhsv(296, 82%, 19%)
CMYKcmyk(6.1%, 81.6%, 0%, 80.8%)
CIE-LABlab(8.98, 25.09, -17.37)
CIE-LCHlch(8.98, 30.52, 325.30°)
OKLaboklab(22.62% 0.0682 -0.0483)
OKLCHoklch(22.62% 0.084 324.7)
XYZxyz(1.7787, 0.9981, 3.0041)
Luminance0.0100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0931 #0C3109
analogous
#1A0931 #2E0931 #310920
triadic
#2E0931 #312E09 #09312E
tetradic
#2E0931 #311A09 #0C3109 #092031
square
#2E0931 #311A09 #0C3109 #092031
split-complementary
#2E0931 #203109 #09311A
monochromatic
#18051A #18051A #2E0931 #5F1265 #8F1C98

Accessibility & contrast

On white

17.51
#2E0931 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0931
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0931#FFFFFF#000000##FFFFFF
##2E09311.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e0931;
/* rgb */ color: rgb(46, 9, 49);
/* oklch */ color: oklch(22.6% 0.084 324.7);
Tailwind
colors: {
  custom: {
    50: '#684c69',
    500: '#2e0931',
    950: '#000000',
  },
}
SCSS
$custom: #2e0931;
$custom-light: #684c69;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0931",
  "rgb": {
    "r": 46,
    "g": 9,
    "b": 49
  },
  "hsl": {
    "h": 295.5,
    "s": 68.966,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22616,
    "c": 0.08357,
    "h": 324.7
  },
  "luminance": 0.00998
}

Semantic roles & 50–950 ramp

primary
#2E0931
secondary
#2C6F27
accent
#EC3C49
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2E0931

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

Preview Lab → · Contrast checker → · Palette generator →

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