#39313A#39313A

#39313A is a dark, near-neutral purple. Relative luminance 0.034; OKLCH L 32.5% C 0.019 H 322.5°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#39313A
RGBrgb(57, 49, 58)
HSLhsl(293, 8%, 21%)
HSVhsv(293, 16%, 23%)
CMYKcmyk(1.7%, 15.5%, 0%, 77.3%)
CIE-LABlab(21.48, 5.59, -4.36)
CIE-LCHlch(21.48, 7.09, 322.04°)
OKLaboklab(32.52% 0.0152 -0.0116)
OKLCHoklch(32.52% 0.019 322.5)
XYZxyz(3.5493, 3.3720, 4.4661)
Luminance0.0337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39313A #323A31
analogous
#34313A #39313A #3A3136
triadic
#39313A #3A3931 #313A39
tetradic
#39313A #3A3431 #323A31 #31363A
square
#39313A #3A3431 #323A31 #31363A
split-complementary
#39313A #363A31 #313A34
monochromatic
#100E11 #181519 #39313A #5A4D5B #7A697C

Accessibility & contrast

On white

12.54
#39313A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#39313A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39313A
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39313A#FFFFFF#000000##FFFFFF
##39313A1.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30333A
Deuteranopia (green-blind)
#32343A
Tritanopia (blue-blind)
#393234
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #39313a;
/* rgb */ color: rgb(57, 49, 58);
/* oklch */ color: oklch(32.5% 0.019 322.5);
Tailwind
colors: {
  custom: {
    50: '#6f6970',
    500: '#39313a',
    950: '#000000',
  },
}
SCSS
$custom: #39313a;
$custom-light: #6f6970;
$custom-dark: #000000;
JSON
{
  "hex": "#39313a",
  "rgb": {
    "r": 57,
    "g": 49,
    "b": 58
  },
  "hsl": {
    "h": 293.333,
    "s": 8.411,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3252,
    "c": 0.01914,
    "h": 322.5
  },
  "luminance": 0.03372
}

Semantic roles & 50–950 ramp

primary
#39313A
secondary
#5F695E
accent
#B1767D
background
#F6F6F6
surface
#ECEBEC
border
#C7C6C7
text
#070607
muted
#7A7A7A

Preview Lab

Preview with #39313A

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

Preview Lab → · Contrast checker → · Palette generator →

#39313A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva