#2E0936#2E0936

#2E0936 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.0% C 0.089 H 319.9°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#2E0936
RGBrgb(46, 9, 54)
HSLhsl(289, 71%, 12%)
HSVhsv(289, 83%, 21%)
CMYKcmyk(14.8%, 83.3%, 0%, 78.8%)
CIE-LABlab(9.34, 26.23, -20.44)
CIE-LCHlch(9.34, 33.26, 322.07°)
OKLaboklab(23% 0.068 -0.0573)
OKLCHoklch(23% 0.089 319.9)
XYZxyz(1.8902, 1.0427, 3.5910)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0936 #113609
analogous
#170936 #2E0936 #360928
triadic
#2E0936 #362E09 #09362E
tetradic
#2E0936 #361709 #113609 #092836
square
#2E0936 #361709 #113609 #092836
split-complementary
#2E0936 #283609 #093617
monochromatic
#16041A #16041A #2E0936 #5B126A #871A9F

Accessibility & contrast

On white

17.38
#2E0936 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0936
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0936#FFFFFF#000000##FFFFFF
##2E09361.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001837
Deuteranopia (green-blind)
#0D1B35
Tritanopia (blue-blind)
#2E121E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2e0936;
/* rgb */ color: rgb(46, 9, 54);
/* oklch */ color: oklch(23.0% 0.089 319.9);
Tailwind
colors: {
  custom: {
    50: '#694c6d',
    500: '#2e0936',
    950: '#000000',
  },
}
SCSS
$custom: #2e0936;
$custom-light: #694c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0936",
  "rgb": {
    "r": 46,
    "g": 9,
    "b": 54
  },
  "hsl": {
    "h": 289.333,
    "s": 71.429,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22996,
    "c": 0.0889,
    "h": 319.9
  },
  "luminance": 0.01043
}

Semantic roles & 50–950 ramp

primary
#2E0936
secondary
#347427
accent
#EE3A5A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2E0936

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

Preview Lab → · Contrast checker → · Palette generator →

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