#343142#343142

#343142 is a dark, muted violet. Relative luminance 0.033; OKLCH L 32.4% C 0.030 H 292.7°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#343142
RGBrgb(52, 49, 66)
HSLhsl(251, 15%, 23%)
HSVhsv(251, 26%, 26%)
CMYKcmyk(21.2%, 25.8%, 0%, 74.1%)
CIE-LABlab(21.28, 5.61, -10.14)
CIE-LCHlch(21.28, 11.59, 298.94°)
OKLaboklab(32.35% 0.0116 -0.0277)
OKLCHoklch(32.35% 0.03 292.7)
XYZxyz(3.4976, 3.3200, 5.6098)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343142 #3F4231
analogous
#313642 #343142 #3C3142
triadic
#343142 #423431 #314234
tetradic
#343142 #423136 #3F4231 #31423C
square
#343142 #423136 #3F4231 #31423C
split-complementary
#343142 #423C31 #364231
monochromatic
#0E0D12 #18171F #343142 #504B65 #6B6588

Accessibility & contrast

On white

12.62
#343142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#343142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343142
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343142#FFFFFF#000000##FFFFFF
##3431421.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3343
Deuteranopia (green-blind)
#2D3342
Tritanopia (blue-blind)
#313437
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #343142;
/* rgb */ color: rgb(52, 49, 66);
/* oklch */ color: oklch(32.4% 0.030 292.7);
Tailwind
colors: {
  custom: {
    50: '#6b6976',
    500: '#343142',
    950: '#000000',
  },
}
SCSS
$custom: #343142;
$custom-light: #6b6976;
$custom-dark: #000000;
JSON
{
  "hex": "#343142",
  "rgb": {
    "r": 52,
    "g": 49,
    "b": 66
  },
  "hsl": {
    "h": 250.588,
    "s": 14.783,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32353,
    "c": 0.03008,
    "h": 292.7
  },
  "luminance": 0.0332
}

Semantic roles & 50–950 ramp

primary
#343142
secondary
#6E725D
accent
#B870AB
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060608
muted
#7A7A7B

Preview Lab

Preview with #343142

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

Preview Lab → · Contrast checker → · Palette generator →

#343142 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva