#342D39#342D39

#342D39 is a dark, muted violet. Relative luminance 0.029; OKLCH L 31.0% C 0.023 H 311.1°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#342D39
RGBrgb(52, 45, 57)
HSLhsl(275, 12%, 20%)
HSVhsv(275, 21%, 22%)
CMYKcmyk(8.8%, 21.1%, 0%, 77.6%)
CIE-LABlab(19.65, 5.97, -6.47)
CIE-LCHlch(19.65, 8.81, 312.71°)
OKLaboklab(30.96% 0.0153 -0.0175)
OKLCHoklch(30.96% 0.023 311.1)
XYZxyz(3.0930, 2.9023, 4.2674)
Luminance0.0290 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342D39 #32392D
analogous
#2E2D39 #342D39 #392D38
triadic
#342D39 #39342D #2D3934
tetradic
#342D39 #392E2D #32392D #2D3839
square
#342D39 #392E2D #32392D #2D3839
split-complementary
#342D39 #38392D #2D392E
monochromatic
#100D11 #151217 #342D39 #53485B #72637D

Accessibility & contrast

On white

13.29
#342D39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#342D39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342D39
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342D39#FFFFFF#000000##FFFFFF
##342D391.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2F3A
Deuteranopia (green-blind)
#2D3039
Tritanopia (blue-blind)
#342E31
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #342d39;
/* rgb */ color: rgb(52, 45, 57);
/* oklch */ color: oklch(31.0% 0.023 311.1);
Tailwind
colors: {
  custom: {
    50: '#6b656f',
    500: '#342d39',
    950: '#000000',
  },
}
SCSS
$custom: #342d39;
$custom-light: #6b656f;
$custom-dark: #000000;
JSON
{
  "hex": "#342d39",
  "rgb": {
    "r": 52,
    "g": 45,
    "b": 57
  },
  "hsl": {
    "h": 275,
    "s": 11.765,
    "l": 20
  },
  "oklch": {
    "l": 0.3096,
    "c": 0.0232,
    "h": 311.1
  },
  "luminance": 0.02902
}

Semantic roles & 50–950 ramp

primary
#342D39
secondary
#606959
accent
#B5738E
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#060507
muted
#7A7A7A

Preview Lab

Preview with #342D39

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

Preview Lab → · Contrast checker → · Palette generator →

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