#2D182E#2D182E

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

Color values

HEX#2D182E
RGBrgb(45, 24, 46)
HSLhsl(297, 31%, 14%)
HSVhsv(297, 48%, 18%)
CMYKcmyk(2.2%, 47.8%, 0%, 82%)
CIE-LABlab(12.01, 14.99, -10.42)
CIE-LCHlch(12.01, 18.26, 325.20°)
OKLaboklab(24.76% 0.0412 -0.0285)
OKLCHoklch(24.76% 0.05 325.3)
XYZxyz(1.9019, 1.4085, 2.7559)
Luminance0.0141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D182E #192E18
analogous
#22182E #2D182E #2E1824
triadic
#2D182E #2E2D18 #182E2D
tetradic
#2D182E #2E2218 #192E18 #18242E
square
#2D182E #2E2218 #192E18 #18242E
split-complementary
#2D182E #242E18 #182E22
monochromatic
#140A14 #140A14 #2D182E #542D56 #7C427E

Accessibility & contrast

On white

16.39
#2D182E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D182E
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D182E#FFFFFF#000000##FFFFFF
##2D182E1.0016.391.2816.39
#FFFFFF16.391.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161E2F
Deuteranopia (green-blind)
#1B202D
Tritanopia (blue-blind)
#2E1A20
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2d182e;
/* rgb */ color: rgb(45, 24, 46);
/* oklch */ color: oklch(24.8% 0.050 325.3);
Tailwind
colors: {
  custom: {
    50: '#665566',
    500: '#2d182e',
    950: '#000000',
  },
}
SCSS
$custom: #2d182e;
$custom-light: #665566;
$custom-dark: #000000;
JSON
{
  "hex": "#2d182e",
  "rgb": {
    "r": 45,
    "g": 24,
    "b": 46
  },
  "hsl": {
    "h": 297.273,
    "s": 31.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24756,
    "c": 0.05005,
    "h": 325.3
  },
  "luminance": 0.01408
}

Semantic roles & 50–950 ramp

primary
#2D182E
secondary
#41633F
accent
#C86065
background
#F6F4F6
surface
#EBE8EB
border
#C6C4C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #2D182E

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

Preview Lab → · Contrast checker → · Palette generator →

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