#342136#342136

#342136 is a dark, muted purple. Relative luminance 0.021; OKLCH L 28.1% C 0.046 H 323.4°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#342136
RGBrgb(52, 33, 54)
HSLhsl(294, 24%, 17%)
HSVhsv(294, 39%, 21%)
CMYKcmyk(3.7%, 38.9%, 0%, 78.8%)
CIE-LABlab(15.92, 13.55, -10.05)
CIE-LCHlch(15.92, 16.87, 323.44°)
OKLaboklab(28.06% 0.0368 -0.0274)
OKLCHoklch(28.06% 0.046 323.4)
XYZxyz(2.6258, 2.0842, 3.7533)
Luminance0.0208 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342136 #233621
analogous
#2A2136 #342136 #36212E
triadic
#342136 #363421 #213634
tetradic
#342136 #362A21 #233621 #212E36
square
#342136 #362A21 #233621 #212E36
split-complementary
#342136 #2E3621 #21362A
monochromatic
#120C13 #120C13 #342136 #59385C #7D4F82

Accessibility & contrast

On white

14.82
#342136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#342136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342136
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342136#FFFFFF#000000##FFFFFF
##3421361.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2637
Deuteranopia (green-blind)
#242835
Tritanopia (blue-blind)
#352329
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #342136;
/* rgb */ color: rgb(52, 33, 54);
/* oklch */ color: oklch(28.1% 0.046 323.4);
Tailwind
colors: {
  custom: {
    50: '#6c5c6d',
    500: '#342136',
    950: '#000000',
  },
}
SCSS
$custom: #342136;
$custom-light: #6c5c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#342136",
  "rgb": {
    "r": 52,
    "g": 33,
    "b": 54
  },
  "hsl": {
    "h": 294.286,
    "s": 24.138,
    "l": 17.059
  },
  "oklch": {
    "l": 0.2806,
    "c": 0.04588,
    "h": 323.4
  },
  "luminance": 0.02084
}

Semantic roles & 50–950 ramp

primary
#342136
secondary
#4D694A
accent
#C16770
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#070407
muted
#7A797A

Preview Lab

Preview with #342136

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

Preview Lab → · Contrast checker → · Palette generator →

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