#2E0937#2E0937

#2E0937 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.1% C 0.090 H 319.0°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#2E0937
RGBrgb(46, 9, 55)
HSLhsl(288, 72%, 13%)
HSVhsv(288, 84%, 22%)
CMYKcmyk(16.4%, 83.6%, 0%, 78.4%)
CIE-LABlab(9.42, 26.47, -21.05)
CIE-LCHlch(9.42, 33.82, 321.51°)
OKLaboklab(23.08% 0.0679 -0.059)
OKLCHoklch(23.08% 0.09 319)
XYZxyz(1.9139, 1.0521, 3.7160)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0937 #123709
analogous
#170937 #2E0937 #370929
triadic
#2E0937 #372E09 #09372E
tetradic
#2E0937 #371709 #123709 #092937
square
#2E0937 #371709 #123709 #092937
split-complementary
#2E0937 #293709 #093717
monochromatic
#16041A #16041A #2E0937 #5A126C #861AA0

Accessibility & contrast

On white

17.35
#2E0937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2E0937 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0937
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0937#FFFFFF#000000##FFFFFF
##2E09371.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001838
Deuteranopia (green-blind)
#0C1C36
Tritanopia (blue-blind)
#2E121F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2e0937;
/* rgb */ color: rgb(46, 9, 55);
/* oklch */ color: oklch(23.1% 0.090 319.0);
Tailwind
colors: {
  custom: {
    50: '#694c6e',
    500: '#2e0937',
    950: '#000000',
  },
}
SCSS
$custom: #2e0937;
$custom-light: #694c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0937",
  "rgb": {
    "r": 46,
    "g": 9,
    "b": 55
  },
  "hsl": {
    "h": 288.261,
    "s": 71.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23075,
    "c": 0.08999,
    "h": 319
  },
  "luminance": 0.01052
}

Semantic roles & 50–950 ramp

primary
#2E0937
secondary
#367527
accent
#EF395D
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2E0937

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

Preview Lab → · Contrast checker → · Palette generator →

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