#2E0136#2E0136

#2E0136 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.9% C 0.102 H 321.1°. Best body text is #FFFFFF at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#2E0136
RGBrgb(46, 1, 54)
HSLhsl(291, 96%, 11%)
HSVhsv(291, 98%, 21%)
CMYKcmyk(14.8%, 98.1%, 0%, 78.8%)
CIE-LABlab(7.85, 30.56, -22.85)
CIE-LCHlch(7.85, 38.15, 323.22°)
OKLaboklab(21.94% 0.0795 -0.0642)
OKLCHoklch(21.94% 0.102 321.1)
XYZxyz(1.8033, 0.8690, 3.5621)
Luminance0.0087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0136 #093601
analogous
#130136 #2E0136 #360123
triadic
#2E0136 #362E01 #01362E
tetradic
#2E0136 #361301 #093601 #012336
square
#2E0136 #361301 #093601 #012336
split-complementary
#2E0136 #233601 #013613
monochromatic
#1A011E #1A011E #2E0136 #610272 #9403AE

Accessibility & contrast

On white

17.89
#2E0136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2E0136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0136
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0136#FFFFFF#000000##FFFFFF
##2E01361.0017.891.1717.89
#FFFFFF17.891.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001437
Deuteranopia (green-blind)
#061935
Tritanopia (blue-blind)
#2E0C1C
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2e0136;
/* rgb */ color: rgb(46, 1, 54);
/* oklch */ color: oklch(21.9% 0.102 321.1);
Tailwind
colors: {
  custom: {
    50: '#69486d',
    500: '#2e0136',
    950: '#000000',
  },
}
SCSS
$custom: #2e0136;
$custom-light: #69486d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0136",
  "rgb": {
    "r": 46,
    "g": 1,
    "b": 54
  },
  "hsl": {
    "h": 290.943,
    "s": 96.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21943,
    "c": 0.10216,
    "h": 321.1
  },
  "luminance": 0.00869
}

Semantic roles & 50–950 ramp

primary
#2E0136
secondary
#277B18
accent
#FF2949
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #2E0136

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

Preview Lab → · Contrast checker → · Palette generator →

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