#2D182F#2D182F

#2D182F is a very dark, muted purple. Relative luminance 0.014; OKLCH L 24.8% C 0.051 H 323.8°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#2D182F
RGBrgb(45, 24, 47)
HSLhsl(295, 32%, 14%)
HSVhsv(295, 49%, 18%)
CMYKcmyk(4.3%, 48.9%, 0%, 81.6%)
CIE-LABlab(12.07, 15.24, -11.07)
CIE-LCHlch(12.07, 18.83, 324.01°)
OKLaboklab(24.81% 0.0415 -0.0303)
OKLCHoklch(24.81% 0.051 323.8)
XYZxyz(1.9219, 1.4165, 2.8609)
Luminance0.0142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D182F #1A2F18
analogous
#22182F #2D182F #2F1826
triadic
#2D182F #2F2D18 #182F2D
tetradic
#2D182F #2F2218 #1A2F18 #18262F
square
#2D182F #2F2218 #1A2F18 #18262F
split-complementary
#2D182F #262F18 #182F22
monochromatic
#130A14 #130A14 #2D182F #542D58 #7B4180

Accessibility & contrast

On white

16.37
#2D182F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#2D182F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D182F
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D182F#FFFFFF#000000##FFFFFF
##2D182F1.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d182f;
/* rgb */ color: rgb(45, 24, 47);
/* oklch */ color: oklch(24.8% 0.051 323.8);
Tailwind
colors: {
  custom: {
    50: '#665567',
    500: '#2d182f',
    950: '#000000',
  },
}
SCSS
$custom: #2d182f;
$custom-light: #665567;
$custom-dark: #000000;
JSON
{
  "hex": "#2d182f",
  "rgb": {
    "r": 45,
    "g": 24,
    "b": 47
  },
  "hsl": {
    "h": 294.783,
    "s": 32.394,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24813,
    "c": 0.05135,
    "h": 323.8
  },
  "luminance": 0.01416
}

Semantic roles & 50–950 ramp

primary
#2D182F
secondary
#42643F
accent
#C95F68
background
#F6F5F6
surface
#EBE8EB
border
#C6C4C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #2D182F

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

Preview Lab → · Contrast checker → · Palette generator →

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