#2E162F#2E162F

#2E162F is a very dark, muted purple. Relative luminance 0.014; OKLCH L 24.6% C 0.057 H 325.7°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#2E162F
RGBrgb(46, 22, 47)
HSLhsl(298, 36%, 14%)
HSVhsv(298, 53%, 18%)
CMYKcmyk(2.1%, 53.2%, 0%, 81.6%)
CIE-LABlab(11.69, 16.98, -11.64)
CIE-LCHlch(11.69, 20.59, 325.57°)
OKLaboklab(24.56% 0.0467 -0.0319)
OKLCHoklch(24.56% 0.057 325.7)
XYZxyz(1.9267, 1.3600, 2.8498)
Luminance0.0136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E162F #172F16
analogous
#21162F #2E162F #2F1623
triadic
#2E162F #2F2E16 #162F2E
tetradic
#2E162F #2F2116 #172F16 #16232F
square
#2E162F #2F2116 #172F16 #16232F
split-complementary
#2E162F #232F16 #162F21
monochromatic
#140A15 #140A15 #2E162F #572A59 #803D82

Accessibility & contrast

On white

16.51
#2E162F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2E162F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E162F
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E162F#FFFFFF#000000##FFFFFF
##2E162F1.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141D30
Deuteranopia (green-blind)
#1A202E
Tritanopia (blue-blind)
#2F1920
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2e162f;
/* rgb */ color: rgb(46, 22, 47);
/* oklch */ color: oklch(24.6% 0.057 325.7);
Tailwind
colors: {
  custom: {
    50: '#675467',
    500: '#2e162f',
    950: '#000000',
  },
}
SCSS
$custom: #2e162f;
$custom-light: #675467;
$custom-dark: #000000;
JSON
{
  "hex": "#2e162f",
  "rgb": {
    "r": 46,
    "g": 22,
    "b": 47
  },
  "hsl": {
    "h": 297.6,
    "s": 36.232,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24564,
    "c": 0.05656,
    "h": 325.7
  },
  "luminance": 0.0136
}

Semantic roles & 50–950 ramp

primary
#2E162F
secondary
#3E653C
accent
#CC5C60
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2E162F

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

Preview Lab → · Contrast checker → · Palette generator →

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