#2E1834#2E1834

#2E1834 is a dark, muted purple. Relative luminance 0.015; OKLCH L 25.3% C 0.059 H 318.8°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#2E1834
RGBrgb(46, 24, 52)
HSLhsl(287, 37%, 15%)
HSVhsv(287, 54%, 20%)
CMYKcmyk(11.5%, 53.8%, 0%, 79.6%)
CIE-LABlab(12.49, 16.88, -14.01)
CIE-LCHlch(12.49, 21.94, 320.32°)
OKLaboklab(25.26% 0.0442 -0.0387)
OKLCHoklch(25.26% 0.059 318.8)
XYZxyz(2.0731, 1.4821, 3.4250)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1834 #1E3418
analogous
#201834 #2E1834 #34182C
triadic
#2E1834 #342E18 #18342E
tetradic
#2E1834 #342018 #1E3418 #182C34
square
#2E1834 #342018 #1E3418 #182C34
split-complementary
#2E1834 #2C3418 #183420
monochromatic
#130A15 #130A15 #2E1834 #532B5E #783F88

Accessibility & contrast

On white

16.20
#2E1834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#2E1834 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1834
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1834#FFFFFF#000000##FFFFFF
##2E18341.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131F35
Deuteranopia (green-blind)
#1A2133
Tritanopia (blue-blind)
#2E1C23
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2e1834;
/* rgb */ color: rgb(46, 24, 52);
/* oklch */ color: oklch(25.3% 0.059 318.8);
Tailwind
colors: {
  custom: {
    50: '#67556b',
    500: '#2e1834',
    950: '#000000',
  },
}
SCSS
$custom: #2e1834;
$custom-light: #67556b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1834",
  "rgb": {
    "r": 46,
    "g": 24,
    "b": 52
  },
  "hsl": {
    "h": 287.143,
    "s": 36.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25256,
    "c": 0.05873,
    "h": 318.8
  },
  "luminance": 0.01482
}

Semantic roles & 50–950 ramp

primary
#2E1834
secondary
#486A3E
accent
#CD5B73
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #2E1834

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

Preview Lab → · Contrast checker → · Palette generator →

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