#342B33#342B33

#342B33 is a dark, near-neutral purple. Relative luminance 0.027; OKLCH L 30.2% C 0.019 H 329.7°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#342B33
RGBrgb(52, 43, 51)
HSLhsl(307, 9%, 19%)
HSVhsv(307, 17%, 20%)
CMYKcmyk(0%, 17.3%, 1.9%, 79.6%)
CIE-LABlab(18.79, 5.89, -3.62)
CIE-LCHlch(18.79, 6.91, 328.46°)
OKLaboklab(30.21% 0.0164 -0.0096)
OKLCHoklch(30.21% 0.019 329.7)
XYZxyz(2.8775, 2.6969, 3.5003)
Luminance0.0270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342B33 #2B342C
analogous
#302B34 #342B33 #342B2E
triadic
#342B33 #33342B #2B3334
tetradic
#342B33 #34302B #2B342C #2B2E34
square
#342B33 #34302B #2B342C #2B2E34
split-complementary
#342B33 #2E342B #2B3430
monochromatic
#110E10 #120F12 #342B33 #554754 #776275

Accessibility & contrast

On white

13.64
#342B33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#342B33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342B33
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342B33#FFFFFF#000000##FFFFFF
##342B331.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2D33
Deuteranopia (green-blind)
#2D2E33
Tritanopia (blue-blind)
#352C2E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #342b33;
/* rgb */ color: rgb(52, 43, 51);
/* oklch */ color: oklch(30.2% 0.019 329.7);
Tailwind
colors: {
  custom: {
    50: '#6b646a',
    500: '#342b33',
    950: '#000000',
  },
}
SCSS
$custom: #342b33;
$custom-light: #6b646a;
$custom-dark: #000000;
JSON
{
  "hex": "#342b33",
  "rgb": {
    "r": 52,
    "g": 43,
    "b": 51
  },
  "hsl": {
    "h": 306.667,
    "s": 9.474,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30214,
    "c": 0.01905,
    "h": 329.7
  },
  "luminance": 0.02697
}

Semantic roles & 50–950 ramp

primary
#342B33
secondary
#576459
accent
#B27C75
background
#F6F5F6
surface
#EBEAEB
border
#C6C6C6
text
#060506
muted
#7A797A

Preview Lab

Preview with #342B33

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

Preview Lab → · Contrast checker → · Palette generator →

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