#39173C#39173C

#39173C is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.2% C 0.078 H 324.3°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#39173C
RGBrgb(57, 23, 60)
HSLhsl(295, 45%, 16%)
HSVhsv(295, 62%, 24%)
CMYKcmyk(5%, 61.7%, 0%, 76.5%)
CIE-LABlab(14.45, 23.34, -16.52)
CIE-LCHlch(14.45, 28.59, 324.71°)
OKLaboklab(27.23% 0.0635 -0.0456)
OKLCHoklch(27.23% 0.078 324.3)
XYZxyz(2.8093, 1.8090, 4.4753)
Luminance0.0181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39173C #1A3C17
analogous
#27173C #39173C #3C172D
triadic
#39173C #3C3917 #173C39
tetradic
#39173C #3C2717 #1A3C17 #172D3C
square
#39173C #3C2717 #1A3C17 #172D3C
split-complementary
#39173C #2D3C17 #173C27
monochromatic
#150816 #150816 #39173C #632868 #8D3994

Accessibility & contrast

On white

15.42
#39173C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39173C
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39173C#FFFFFF#000000##FFFFFF
##39173C1.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12223D
Deuteranopia (green-blind)
#1D263B
Tritanopia (blue-blind)
#3A1C27
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #39173c;
/* rgb */ color: rgb(57, 23, 60);
/* oklch */ color: oklch(27.2% 0.078 324.3);
Tailwind
colors: {
  custom: {
    50: '#715672',
    500: '#39173c',
    950: '#000000',
  },
}
SCSS
$custom: #39173c;
$custom-light: #715672;
$custom-dark: #000000;
JSON
{
  "hex": "#39173c",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 60
  },
  "hsl": {
    "h": 295.135,
    "s": 44.578,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27228,
    "c": 0.07816,
    "h": 324.3
  },
  "luminance": 0.01809
}

Semantic roles & 50–950 ramp

primary
#39173C
secondary
#41733C
accent
#D4545E
background
#F6F5F6
surface
#ECE9EC
border
#C7C5C7
text
#080308
muted
#7B787B

Preview Lab

Preview with #39173C

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

Preview Lab → · Contrast checker → · Palette generator →

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