#39173A#39173A

#39173A is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.1% C 0.076 H 326.3°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#39173A
RGBrgb(57, 23, 58)
HSLhsl(298, 43%, 16%)
HSVhsv(298, 60%, 23%)
CMYKcmyk(1.7%, 60.3%, 0%, 77.3%)
CIE-LABlab(14.33, 22.88, -15.29)
CIE-LCHlch(14.33, 27.52, 326.26°)
OKLaboklab(27.1% 0.0632 -0.0421)
OKLCHoklch(27.1% 0.076 326.3)
XYZxyz(2.7574, 1.7883, 4.2021)
Luminance0.0179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39173A #183A17
analogous
#27173A #39173A #3A1729
triadic
#39173A #3A3917 #173A39
tetradic
#39173A #3A2717 #183A17 #17293A
square
#39173A #3A2717 #183A17 #17293A
split-complementary
#39173A #293A17 #173A27
monochromatic
#160916 #160916 #39173A #642866 #8F3A92

Accessibility & contrast

On white

15.47
#39173A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#39173A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39173A
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39173A#FFFFFF#000000##FFFFFF
##39173A1.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13223B
Deuteranopia (green-blind)
#1E2639
Tritanopia (blue-blind)
#3B1B26
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #39173a;
/* rgb */ color: rgb(57, 23, 58);
/* oklch */ color: oklch(27.1% 0.076 326.3);
Tailwind
colors: {
  custom: {
    50: '#715670',
    500: '#39173a',
    950: '#000000',
  },
}
SCSS
$custom: #39173a;
$custom-light: #715670;
$custom-dark: #000000;
JSON
{
  "hex": "#39173a",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 58
  },
  "hsl": {
    "h": 298.286,
    "s": 43.21,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27104,
    "c": 0.07589,
    "h": 326.3
  },
  "luminance": 0.01788
}

Semantic roles & 50–950 ramp

primary
#39173A
secondary
#3E713C
accent
#D35558
background
#F6F5F6
surface
#ECE9EC
border
#C7C5C7
text
#080307
muted
#7B787A

Preview Lab

Preview with #39173A

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

Preview Lab → · Contrast checker → · Palette generator →

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