#342133#342133

#342133 is a dark, muted purple. Relative luminance 0.021; OKLCH L 27.9% C 0.042 H 328.4°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#342133
RGBrgb(52, 33, 51)
HSLhsl(303, 22%, 17%)
HSVhsv(303, 37%, 20%)
CMYKcmyk(0%, 36.5%, 1.9%, 79.6%)
CIE-LABlab(15.78, 12.83, -8.14)
CIE-LCHlch(15.78, 15.20, 327.61°)
OKLaboklab(27.91% 0.0358 -0.022)
OKLCHoklch(27.91% 0.042 328.4)
XYZxyz(2.5575, 2.0569, 3.3936)
Luminance0.0206 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342133 #213422
analogous
#2C2134 #342133 #34212A
triadic
#342133 #333421 #213334
tetradic
#342133 #342C21 #213422 #212A34
square
#342133 #342C21 #213422 #212A34
split-complementary
#342133 #2A3421 #21342C
monochromatic
#130C12 #130C12 #342133 #593958 #7F517C

Accessibility & contrast

On white

14.88
#342133 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#342133 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342133
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342133#FFFFFF#000000##FFFFFF
##3421331.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202634
Deuteranopia (green-blind)
#252832
Tritanopia (blue-blind)
#352227
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #342133;
/* rgb */ color: rgb(52, 33, 51);
/* oklch */ color: oklch(27.9% 0.042 328.4);
Tailwind
colors: {
  custom: {
    50: '#6c5c6a',
    500: '#342133',
    950: '#000000',
  },
}
SCSS
$custom: #342133;
$custom-light: #6c5c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#342133",
  "rgb": {
    "r": 52,
    "g": 33,
    "b": 51
  },
  "hsl": {
    "h": 303.158,
    "s": 22.353,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27907,
    "c": 0.04202,
    "h": 328.4
  },
  "luminance": 0.02057
}

Semantic roles & 50–950 ramp

primary
#342133
secondary
#4B664C
accent
#BF6D69
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#070406
muted
#7A797A

Preview Lab

Preview with #342133

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

Preview Lab → · Contrast checker → · Palette generator →

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