#39173E#39173E

#39173E is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.4% C 0.080 H 322.4°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#39173E
RGBrgb(57, 23, 62)
HSLhsl(292, 46%, 17%)
HSVhsv(292, 63%, 24%)
CMYKcmyk(8.1%, 62.9%, 0%, 75.7%)
CIE-LABlab(14.57, 23.80, -17.74)
CIE-LCHlch(14.57, 29.68, 323.30°)
OKLaboklab(27.36% 0.0637 -0.0491)
OKLCHoklch(27.36% 0.08 322.4)
XYZxyz(2.8631, 1.8306, 4.7590)
Luminance0.0183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39173E #1C3E17
analogous
#26173E #39173E #3E1730
triadic
#39173E #3E3917 #173E39
tetradic
#39173E #3E2617 #1C3E17 #17303E
square
#39173E #3E2617 #1C3E17 #17303E
split-complementary
#39173E #303E17 #173E26
monochromatic
#150816 #150816 #39173E #62286B #8B3897

Accessibility & contrast

On white

15.37
#39173E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#39173E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39173E
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39173E#FFFFFF#000000##FFFFFF
##39173E1.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10223F
Deuteranopia (green-blind)
#1C263D
Tritanopia (blue-blind)
#3A1C28
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #39173e;
/* rgb */ color: rgb(57, 23, 62);
/* oklch */ color: oklch(27.4% 0.080 322.4);
Tailwind
colors: {
  custom: {
    50: '#715673',
    500: '#39173e',
    950: '#000000',
  },
}
SCSS
$custom: #39173e;
$custom-light: #715673;
$custom-dark: #000000;
JSON
{
  "hex": "#39173e",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 292.308,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27356,
    "c": 0.08048,
    "h": 322.4
  },
  "luminance": 0.0183
}

Semantic roles & 50–950 ramp

primary
#39173E
secondary
#43753C
accent
#D65263
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #39173E

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

Preview Lab → · Contrast checker → · Palette generator →

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