#342C38#342C38

#342C38 is a dark, muted purple. Relative luminance 0.028; OKLCH L 30.7% C 0.024 H 314.5°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#342C38
RGBrgb(52, 44, 56)
HSLhsl(280, 12%, 20%)
HSVhsv(280, 21%, 22%)
CMYKcmyk(7.1%, 21.4%, 0%, 78%)
CIE-LABlab(19.30, 6.41, -6.32)
CIE-LCHlch(19.30, 9.00, 315.44°)
OKLaboklab(30.67% 0.0167 -0.017)
OKLCHoklch(30.67% 0.024 314.5)
XYZxyz(3.0306, 2.8170, 4.1247)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342C38 #30382C
analogous
#2E2C38 #342C38 #382C36
triadic
#342C38 #38342C #2C3834
tetradic
#342C38 #382E2C #30382C #2C3638
square
#342C38 #382E2C #30382C #2C3638
split-complementary
#342C38 #36382C #2C382E
monochromatic
#100D11 #141116 #342C38 #54475A #74627D

Accessibility & contrast

On white

13.43
#342C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#342C38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342C38
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342C38#FFFFFF#000000##FFFFFF
##342C381.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2E39
Deuteranopia (green-blind)
#2C2F38
Tritanopia (blue-blind)
#342D30
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #342c38;
/* rgb */ color: rgb(52, 44, 56);
/* oklch */ color: oklch(30.7% 0.024 314.5);
Tailwind
colors: {
  custom: {
    50: '#6b656e',
    500: '#342c38',
    950: '#000000',
  },
}
SCSS
$custom: #342c38;
$custom-light: #6b656e;
$custom-dark: #000000;
JSON
{
  "hex": "#342c38",
  "rgb": {
    "r": 52,
    "g": 44,
    "b": 56
  },
  "hsl": {
    "h": 280,
    "s": 12,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30673,
    "c": 0.02386,
    "h": 314.5
  },
  "luminance": 0.02817
}

Semantic roles & 50–950 ramp

primary
#342C38
secondary
#5D6858
accent
#B57389
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060507
muted
#7A7A7A

Preview Lab

Preview with #342C38

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

Preview Lab → · Contrast checker → · Palette generator →

#342C38 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva