#393142#393142

#393142 is a dark, muted violet. Relative luminance 0.035; OKLCH L 32.9% C 0.031 H 306.1°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#393142
RGBrgb(57, 49, 66)
HSLhsl(268, 15%, 23%)
HSVhsv(268, 26%, 26%)
CMYKcmyk(13.6%, 25.8%, 0%, 74.1%)
CIE-LABlab(21.80, 7.58, -9.31)
CIE-LCHlch(21.80, 12.00, 309.14°)
OKLaboklab(32.88% 0.0185 -0.0253)
OKLCHoklch(32.88% 0.031 306.1)
XYZxyz(3.7688, 3.4598, 5.6225)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393142 #3A4231
analogous
#313142 #393142 #423142
triadic
#393142 #423931 #314239
tetradic
#393142 #423131 #3A4231 #314242
square
#393142 #423131 #3A4231 #314242
split-complementary
#393142 #424231 #314231
monochromatic
#0F0D12 #1B171F #393142 #574B65 #766588

Accessibility & contrast

On white

12.41
#393142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#393142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393142
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393142#FFFFFF#000000##FFFFFF
##3931421.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3443
Deuteranopia (green-blind)
#303441
Tritanopia (blue-blind)
#383337
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #393142;
/* rgb */ color: rgb(57, 49, 66);
/* oklch */ color: oklch(32.9% 0.031 306.1);
Tailwind
colors: {
  custom: {
    50: '#6f6976',
    500: '#393142',
    950: '#000000',
  },
}
SCSS
$custom: #393142;
$custom-light: #6f6976;
$custom-dark: #000000;
JSON
{
  "hex": "#393142",
  "rgb": {
    "r": 57,
    "g": 49,
    "b": 66
  },
  "hsl": {
    "h": 268.235,
    "s": 14.783,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32877,
    "c": 0.03135,
    "h": 306.1
  },
  "luminance": 0.0346
}

Semantic roles & 50–950 ramp

primary
#393142
secondary
#68725D
accent
#B87096
background
#F6F6F7
surface
#ECEBED
border
#C7C6C8
text
#070608
muted
#7A7A7B

Preview Lab

Preview with #393142

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

Preview Lab → · Contrast checker → · Palette generator →

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