#39313F#39313F

#39313F is a dark, muted violet. Relative luminance 0.034; OKLCH L 32.7% C 0.027 H 310.6°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#39313F
RGBrgb(57, 49, 63)
HSLhsl(274, 13%, 22%)
HSVhsv(274, 22%, 25%)
CMYKcmyk(9.5%, 22.2%, 0%, 75.3%)
CIE-LABlab(21.67, 6.81, -7.46)
CIE-LCHlch(21.67, 10.10, 312.37°)
OKLaboklab(32.74% 0.0173 -0.0202)
OKLCHoklch(32.74% 0.027 310.6)
XYZxyz(3.6827, 3.4254, 5.1688)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39313F #373F31
analogous
#32313F #39313F #3F313E
triadic
#39313F #3F3931 #313F39
tetradic
#39313F #3F3231 #373F31 #313E3F
square
#39313F #3F3231 #373F31 #313E3F
split-complementary
#39313F #3E3F31 #313F32
monochromatic
#100D11 #1A161D #39313F #584C61 #776784

Accessibility & contrast

On white

12.46
#39313F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#39313F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39313F
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39313F#FFFFFF#000000##FFFFFF
##39313F1.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3440
Deuteranopia (green-blind)
#30343F
Tritanopia (blue-blind)
#383336
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #39313f;
/* rgb */ color: rgb(57, 49, 63);
/* oklch */ color: oklch(32.7% 0.027 310.6);
Tailwind
colors: {
  custom: {
    50: '#6f6974',
    500: '#39313f',
    950: '#000000',
  },
}
SCSS
$custom: #39313f;
$custom-light: #6f6974;
$custom-dark: #000000;
JSON
{
  "hex": "#39313f",
  "rgb": {
    "r": 57,
    "g": 49,
    "b": 63
  },
  "hsl": {
    "h": 274.286,
    "s": 12.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32738,
    "c": 0.02658,
    "h": 310.6
  },
  "luminance": 0.03425
}

Semantic roles & 50–950 ramp

primary
#39313F
secondary
#656F5D
accent
#B5728F
background
#F6F6F7
surface
#ECEBED
border
#C7C6C8
text
#070608
muted
#7A7A7B

Preview Lab

Preview with #39313F

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

Preview Lab → · Contrast checker → · Palette generator →

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