#2E0939#2E0939

#2E0939 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.2% C 0.092 H 317.3°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#2E0939
RGBrgb(46, 9, 57)
HSLhsl(286, 73%, 13%)
HSVhsv(286, 84%, 22%)
CMYKcmyk(19.3%, 84.2%, 0%, 77.6%)
CIE-LABlab(9.57, 26.94, -22.24)
CIE-LCHlch(9.57, 34.94, 320.45°)
OKLaboklab(23.24% 0.0677 -0.0625)
OKLCHoklch(23.24% 0.092 317.3)
XYZxyz(1.9628, 1.0717, 3.9736)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0939 #143909
analogous
#160939 #2E0939 #39092C
triadic
#2E0939 #392E09 #09392E
tetradic
#2E0939 #391609 #143909 #092C39
square
#2E0939 #391609 #143909 #092C39
split-complementary
#2E0939 #2C3909 #093916
monochromatic
#15041A #15041A #2E0939 #59116E #831AA3

Accessibility & contrast

On white

17.29
#2E0939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0939
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0939#FFFFFF#000000##FFFFFF
##2E09391.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183A
Deuteranopia (green-blind)
#0A1C38
Tritanopia (blue-blind)
#2D1320
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2e0939;
/* rgb */ color: rgb(46, 9, 57);
/* oklch */ color: oklch(23.2% 0.092 317.3);
Tailwind
colors: {
  custom: {
    50: '#694c70',
    500: '#2e0939',
    950: '#000000',
  },
}
SCSS
$custom: #2e0939;
$custom-light: #694c70;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0939",
  "rgb": {
    "r": 46,
    "g": 9,
    "b": 57
  },
  "hsl": {
    "h": 286.25,
    "s": 72.727,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23237,
    "c": 0.09216,
    "h": 317.3
  },
  "luminance": 0.01072
}

Semantic roles & 50–950 ramp

primary
#2E0939
secondary
#397727
accent
#EF3862
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2E0939

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

Preview Lab → · Contrast checker → · Palette generator →

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