#2E1C36#2E1C36

#2E1C36 is a dark, muted purple. Relative luminance 0.017; OKLCH L 26.2% C 0.053 H 314.9°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#2E1C36
RGBrgb(46, 28, 54)
HSLhsl(282, 32%, 16%)
HSVhsv(282, 48%, 21%)
CMYKcmyk(14.8%, 48.1%, 0%, 78.8%)
CIE-LABlab(13.70, 14.66, -13.56)
CIE-LCHlch(13.70, 19.97, 317.23°)
OKLaboklab(26.19% 0.0373 -0.0374)
OKLCHoklch(26.19% 0.053 314.9)
XYZxyz(2.2077, 1.6777, 3.6969)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1C36 #24361C
analogous
#211C36 #2E1C36 #361C31
triadic
#2E1C36 #362E1C #1C362E
tetradic
#2E1C36 #36211C #24361C #1C3136
square
#2E1C36 #36211C #24361C #1C3136
split-complementary
#2E1C36 #31361C #1C3621
monochromatic
#110A14 #110A14 #2E1C36 #50315E #734687

Accessibility & contrast

On white

15.72
#2E1C36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#2E1C36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1C36
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1C36#FFFFFF#000000##FFFFFF
##2E1C361.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172237
Deuteranopia (green-blind)
#1C2335
Tritanopia (blue-blind)
#2E2026
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2e1c36;
/* rgb */ color: rgb(46, 28, 54);
/* oklch */ color: oklch(26.2% 0.053 314.9);
Tailwind
colors: {
  custom: {
    50: '#67586d',
    500: '#2e1c36',
    950: '#000000',
  },
}
SCSS
$custom: #2e1c36;
$custom-light: #67586d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1c36",
  "rgb": {
    "r": 46,
    "g": 28,
    "b": 54
  },
  "hsl": {
    "h": 281.538,
    "s": 31.707,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26194,
    "c": 0.05286,
    "h": 314.9
  },
  "luminance": 0.01678
}

Semantic roles & 50–950 ramp

primary
#2E1C36
secondary
#4F6A44
accent
#C86080
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060307
muted
#7A787A

Preview Lab

Preview with #2E1C36

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

Preview Lab → · Contrast checker → · Palette generator →

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