#3C173D#3C173D

#3C173D is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.8% C 0.081 H 326.5°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#3C173D
RGBrgb(60, 23, 61)
HSLhsl(298, 45%, 16%)
HSVhsv(298, 62%, 24%)
CMYKcmyk(1.6%, 62.3%, 0%, 76.1%)
CIE-LABlab(15.01, 24.56, -16.31)
CIE-LCHlch(15.01, 29.48, 326.41°)
OKLaboklab(27.76% 0.0678 -0.0449)
OKLCHoklch(27.76% 0.081 326.5)
XYZxyz(3.0121, 1.9105, 4.6241)
Luminance0.0191 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C173D #183D17
analogous
#29173D #3C173D #3D172B
triadic
#3C173D #3D3C17 #173D3C
tetradic
#3C173D #3D2917 #183D17 #172B3D
square
#3C173D #3D2917 #183D17 #172B3D
split-complementary
#3C173D #2B3D17 #173D29
monochromatic
#160816 #160816 #3C173D #682869 #933996

Accessibility & contrast

On white

15.20
#3C173D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3C173D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C173D
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C173D#FFFFFF#000000##FFFFFF
##3C173D1.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13233E
Deuteranopia (green-blind)
#1E273C
Tritanopia (blue-blind)
#3E1C27
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3c173d;
/* rgb */ color: rgb(60, 23, 61);
/* oklch */ color: oklch(27.8% 0.081 326.5);
Tailwind
colors: {
  custom: {
    50: '#735672',
    500: '#3c173d',
    950: '#000000',
  },
}
SCSS
$custom: #3c173d;
$custom-light: #735672;
$custom-dark: #000000;
JSON
{
  "hex": "#3c173d",
  "rgb": {
    "r": 60,
    "g": 23,
    "b": 61
  },
  "hsl": {
    "h": 298.421,
    "s": 45.238,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27762,
    "c": 0.08138,
    "h": 326.5
  },
  "luminance": 0.0191
}

Semantic roles & 50–950 ramp

primary
#3C173D
secondary
#3E743C
accent
#D55356
background
#F7F5F6
surface
#EDE9EC
border
#C8C5C7
text
#080308
muted
#7B787B

Preview Lab

Preview with #3C173D

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

Preview Lab → · Contrast checker → · Palette generator →

#3C173D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva