#2D282F#2D282F

#2D282F is a dark, near-neutral purple. Relative luminance 0.023; OKLCH L 28.5% C 0.014 H 316.4°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#2D282F
RGBrgb(45, 40, 47)
HSLhsl(283, 8%, 17%)
HSVhsv(283, 15%, 18%)
CMYKcmyk(4.3%, 14.9%, 0%, 81.6%)
CIE-LABlab(16.90, 3.95, -3.72)
CIE-LCHlch(16.90, 5.43, 316.70°)
OKLaboklab(28.51% 0.0104 -0.01)
OKLCHoklch(28.51% 0.014 316.4)
XYZxyz(2.3540, 2.2807, 3.0050)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D282F #2A2F28
analogous
#2A282F #2D282F #2F282E
triadic
#2D282F #2F2D28 #282F2D
tetradic
#2D282F #2F2A28 #2A2F28 #282E2F
square
#2D282F #2F2A28 #2A2F28 #282E2F
split-complementary
#2D282F #2E2F28 #282F2A
monochromatic
#100E11 #100E11 #2D282F #4D4450 #6C6071

Accessibility & contrast

On white

14.42
#2D282F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2D282F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D282F
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D282F#FFFFFF#000000##FFFFFF
##2D282F1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27292F
Deuteranopia (green-blind)
#282A2F
Tritanopia (blue-blind)
#2D292A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2d282f;
/* rgb */ color: rgb(45, 40, 47);
/* oklch */ color: oklch(28.5% 0.014 316.4);
Tailwind
colors: {
  custom: {
    50: '#656167',
    500: '#2d282f',
    950: '#000000',
  },
}
SCSS
$custom: #2d282f;
$custom-light: #656167;
$custom-dark: #000000;
JSON
{
  "hex": "#2d282f",
  "rgb": {
    "r": 45,
    "g": 40,
    "b": 47
  },
  "hsl": {
    "h": 282.857,
    "s": 8.046,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28509,
    "c": 0.01444,
    "h": 316.4
  },
  "luminance": 0.02281
}

Semantic roles & 50–950 ramp

primary
#2D282F
secondary
#575E54
accent
#B17787
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050506
muted
#7A797A

Preview Lab

Preview with #2D282F

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

Preview Lab → · Contrast checker → · Palette generator →

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