#2E0336#2E0336

#2E0336 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.2% C 0.099 H 320.8°. Best body text is #FFFFFF at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#2E0336
RGBrgb(46, 3, 54)
HSLhsl(291, 89%, 11%)
HSVhsv(291, 94%, 21%)
CMYKcmyk(14.8%, 94.4%, 0%, 78.8%)
CIE-LABlab(8.24, 29.41, -22.22)
CIE-LCHlch(8.24, 36.86, 322.93°)
OKLaboklab(22.22% 0.0764 -0.0624)
OKLCHoklch(22.22% 0.099 320.8)
XYZxyz(1.8251, 0.9124, 3.5693)
Luminance0.0091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0336 #0B3603
analogous
#140336 #2E0336 #360324
triadic
#2E0336 #362E03 #03362E
tetradic
#2E0336 #361403 #0B3603 #032436
square
#2E0336 #361403 #0B3603 #032436
split-complementary
#2E0336 #243603 #033614
monochromatic
#19021D #19021D #2E0336 #5F0670 #9109AA

Accessibility & contrast

On white

17.76
#2E0336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2E0336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0336
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0336#FFFFFF#000000##FFFFFF
##2E03361.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001537
Deuteranopia (green-blind)
#081935
Tritanopia (blue-blind)
#2E0D1D
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2e0336;
/* rgb */ color: rgb(46, 3, 54);
/* oklch */ color: oklch(22.2% 0.099 320.8);
Tailwind
colors: {
  custom: {
    50: '#69496d',
    500: '#2e0336',
    950: '#000000',
  },
}
SCSS
$custom: #2e0336;
$custom-light: #69496d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0336",
  "rgb": {
    "r": 46,
    "g": 3,
    "b": 54
  },
  "hsl": {
    "h": 290.588,
    "s": 89.474,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22216,
    "c": 0.09865,
    "h": 320.8
  },
  "luminance": 0.00912
}

Semantic roles & 50–950 ramp

primary
#2E0336
secondary
#2A791C
accent
#FF294A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2E0336

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

Preview Lab → · Contrast checker → · Palette generator →

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