#2E182F#2E182F

#2E182F is a very dark, muted purple. Relative luminance 0.014; OKLCH L 25.0% C 0.052 H 325.4°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#2E182F
RGBrgb(46, 24, 47)
HSLhsl(297, 32%, 14%)
HSVhsv(297, 49%, 18%)
CMYKcmyk(2.1%, 48.9%, 0%, 81.6%)
CIE-LABlab(12.22, 15.63, -10.82)
CIE-LCHlch(12.22, 19.01, 325.31°)
OKLaboklab(24.96% 0.043 -0.0296)
OKLCHoklch(24.96% 0.052 325.4)
XYZxyz(1.9664, 1.4394, 2.8630)
Luminance0.0144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E182F #192F18
analogous
#23182F #2E182F #2F1825
triadic
#2E182F #2F2E18 #182F2E
tetradic
#2E182F #2F2318 #192F18 #18252F
square
#2E182F #2F2318 #192F18 #18252F
split-complementary
#2E182F #252F18 #182F23
monochromatic
#140A14 #140A14 #2E182F #562D58 #7D4180

Accessibility & contrast

On white

16.31
#2E182F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#2E182F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E182F
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E182F#FFFFFF#000000##FFFFFF
##2E182F1.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161E30
Deuteranopia (green-blind)
#1C212E
Tritanopia (blue-blind)
#2F1A21
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2e182f;
/* rgb */ color: rgb(46, 24, 47);
/* oklch */ color: oklch(25.0% 0.052 325.4);
Tailwind
colors: {
  custom: {
    50: '#675567',
    500: '#2e182f',
    950: '#000000',
  },
}
SCSS
$custom: #2e182f;
$custom-light: #675567;
$custom-dark: #000000;
JSON
{
  "hex": "#2e182f",
  "rgb": {
    "r": 46,
    "g": 24,
    "b": 47
  },
  "hsl": {
    "h": 297.391,
    "s": 32.394,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24959,
    "c": 0.05215,
    "h": 325.4
  },
  "luminance": 0.01439
}

Semantic roles & 50–950 ramp

primary
#2E182F
secondary
#41643F
accent
#C95F64
background
#F6F5F6
surface
#EBE8EB
border
#C6C4C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #2E182F

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

Preview Lab → · Contrast checker → · Palette generator →

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