#3C173E#3C173E

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

Color values

HEX#3C173E
RGBrgb(60, 23, 62)
HSLhsl(297, 46%, 17%)
HSVhsv(297, 63%, 24%)
CMYKcmyk(3.2%, 62.9%, 0%, 75.7%)
CIE-LABlab(15.07, 24.78, -16.92)
CIE-LCHlch(15.07, 30.01, 325.67°)
OKLaboklab(27.82% 0.068 -0.0467)
OKLCHoklch(27.82% 0.082 325.5)
XYZxyz(3.0393, 1.9214, 4.7673)
Luminance0.0192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C173E #193E17
analogous
#29173E #3C173E #3E172D
triadic
#3C173E #3E3C17 #173E3C
tetradic
#3C173E #3E2917 #193E17 #172D3E
square
#3C173E #3E2917 #193E17 #172D3E
split-complementary
#3C173E #2D3E17 #173E29
monochromatic
#160816 #160816 #3C173E #67286B #923897

Accessibility & contrast

On white

15.17
#3C173E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C173E
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C173E#FFFFFF#000000##FFFFFF
##3C173E1.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12233F
Deuteranopia (green-blind)
#1E273D
Tritanopia (blue-blind)
#3E1C28
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3c173e;
/* rgb */ color: rgb(60, 23, 62);
/* oklch */ color: oklch(27.8% 0.082 325.5);
Tailwind
colors: {
  custom: {
    50: '#735673',
    500: '#3c173e',
    950: '#000000',
  },
}
SCSS
$custom: #3c173e;
$custom-light: #735673;
$custom-dark: #000000;
JSON
{
  "hex": "#3c173e",
  "rgb": {
    "r": 60,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 296.923,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27824,
    "c": 0.08248,
    "h": 325.5
  },
  "luminance": 0.01921
}

Semantic roles & 50–950 ramp

primary
#3C173E
secondary
#3F753C
accent
#D65259
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #3C173E

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

Preview Lab → · Contrast checker → · Palette generator →

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