#39173F#39173F

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

Color values

HEX#39173F
RGBrgb(57, 23, 63)
HSLhsl(291, 47%, 17%)
HSVhsv(291, 63%, 25%)
CMYKcmyk(9.5%, 63.5%, 0%, 75.3%)
CIE-LABlab(14.63, 24.03, -18.35)
CIE-LCHlch(14.63, 30.23, 322.64°)
OKLaboklab(27.42% 0.0638 -0.0509)
OKLCHoklch(27.42% 0.082 321.4)
XYZxyz(2.8908, 1.8417, 4.9049)
Luminance0.0184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39173F #1D3F17
analogous
#25173F #39173F #3F1731
triadic
#39173F #3F3917 #173F39
tetradic
#39173F #3F2517 #1D3F17 #17313F
square
#39173F #3F2517 #1D3F17 #17313F
split-complementary
#39173F #313F17 #173F25
monochromatic
#140816 #140816 #39173F #62276C #8A3899

Accessibility & contrast

On white

15.35
#39173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39173F
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39173F#FFFFFF#000000##FFFFFF
##39173F1.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102240
Deuteranopia (green-blind)
#1B263E
Tritanopia (blue-blind)
#3A1D28
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #39173f;
/* rgb */ color: rgb(57, 23, 63);
/* oklch */ color: oklch(27.4% 0.082 321.4);
Tailwind
colors: {
  custom: {
    50: '#715674',
    500: '#39173f',
    950: '#000000',
  },
}
SCSS
$custom: #39173f;
$custom-light: #715674;
$custom-dark: #000000;
JSON
{
  "hex": "#39173f",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 291,
    "s": 46.512,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27421,
    "c": 0.08165,
    "h": 321.4
  },
  "luminance": 0.01842
}

Semantic roles & 50–950 ramp

primary
#39173F
secondary
#45763C
accent
#D65266
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #39173F

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

Preview Lab → · Contrast checker → · Palette generator →

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