#332D2F#332D2F

#332D2F is a dark, near-neutral grey. Relative luminance 0.028; OKLCH L 30.4% C 0.009 H 355.5°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#332D2F
RGBrgb(51, 45, 47)
HSLhsl(340, 6%, 19%)
HSVhsv(340, 12%, 20%)
CMYKcmyk(0%, 11.8%, 7.8%, 80%)
CIE-LABlab(19.17, 3.15, -0.30)
CIE-LCHlch(19.17, 3.17, 354.63°)
OKLaboklab(30.43% 0.0093 -0.0007)
OKLCHoklch(30.43% 0.009 355.5)
XYZxyz(2.8167, 2.7859, 3.0781)
Luminance0.0279 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332D2F #2D3331
analogous
#332D32 #332D2F #332E2D
triadic
#332D2F #2F332D #2D2F33
tetradic
#332D2F #32332D #2D3331 #2E2D33
square
#332D2F #32332D #2D3331 #2E2D33
split-complementary
#332D2F #2D332E #2D3233
monochromatic
#100E0F #121011 #332D2F #544A4D #74666B

Accessibility & contrast

On white

13.49
#332D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#332D2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332D2F
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332D2F#FFFFFF#000000##FFFFFF
##332D2F1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2E2F
Deuteranopia (green-blind)
#2F2F2F
Tritanopia (blue-blind)
#342D2E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #332d2f;
/* rgb */ color: rgb(51, 45, 47);
/* oklch */ color: oklch(30.4% 0.009 355.5);
Tailwind
colors: {
  custom: {
    50: '#6a6567',
    500: '#332d2f',
    950: '#000000',
  },
}
SCSS
$custom: #332d2f;
$custom-light: #6a6567;
$custom-dark: #000000;
JSON
{
  "hex": "#332d2f",
  "rgb": {
    "r": 51,
    "g": 45,
    "b": 47
  },
  "hsl": {
    "h": 340,
    "s": 6.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30434,
    "c": 0.00935,
    "h": 355.5
  },
  "luminance": 0.02786
}

Semantic roles & 50–950 ramp

primary
#332D2F
secondary
#5A625F
accent
#AF9D78
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060506
muted
#7A7A7A

Preview Lab

Preview with #332D2F

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

Preview Lab → · Contrast checker → · Palette generator →

#332D2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva