#3F313D#3F313D

#3F313D is a dark, muted purple. Relative luminance 0.036; OKLCH L 33.3% C 0.028 H 331.0°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#3F313D
RGBrgb(63, 49, 61)
HSLhsl(309, 13%, 22%)
HSVhsv(309, 22%, 25%)
CMYKcmyk(0%, 22.2%, 3.2%, 75.3%)
CIE-LABlab(22.27, 8.83, -5.14)
CIE-LCHlch(22.27, 10.22, 329.77°)
OKLaboklab(33.33% 0.0248 -0.0137)
OKLCHoklch(33.33% 0.028 331)
XYZxyz(3.9904, 3.5904, 4.8968)
Luminance0.0359 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F313D #313F33
analogous
#3A313F #3F313D #3F3136
triadic
#3F313D #3D3F31 #313D3F
tetradic
#3F313D #3F3A31 #313F33 #31363F
square
#3F313D #3F3A31 #313F33 #31363F
split-complementary
#3F313D #363F31 #313F3A
monochromatic
#110D11 #1D161C #3F313D #614C5E #846780

Accessibility & contrast

On white

12.22
#3F313D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#3F313D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F313D
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F313D#FFFFFF#000000##FFFFFF
##3F313D1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31343E
Deuteranopia (green-blind)
#34363D
Tritanopia (blue-blind)
#403235
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3f313d;
/* rgb */ color: rgb(63, 49, 61);
/* oklch */ color: oklch(33.3% 0.028 331.0);
Tailwind
colors: {
  custom: {
    50: '#746972',
    500: '#3f313d',
    950: '#000000',
  },
}
SCSS
$custom: #3f313d;
$custom-light: #746972;
$custom-dark: #000000;
JSON
{
  "hex": "#3f313d",
  "rgb": {
    "r": 63,
    "g": 49,
    "b": 61
  },
  "hsl": {
    "h": 308.571,
    "s": 12.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33331,
    "c": 0.02833,
    "h": 331
  },
  "luminance": 0.0359
}

Semantic roles & 50–950 ramp

primary
#3F313D
secondary
#5D6F60
accent
#B57C72
background
#F7F6F6
surface
#EDEBEC
border
#C8C6C7
text
#080608
muted
#7B7A7B

Preview Lab

Preview with #3F313D

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

Preview Lab → · Contrast checker → · Palette generator →

#3F313D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva