#3C174D#3C174D

#3C174D is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.9% C 0.100 H 313.5°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#3C174D
RGBrgb(60, 23, 77)
HSLhsl(281, 54%, 20%)
HSVhsv(281, 70%, 30%)
CMYKcmyk(22.1%, 70.1%, 0%, 69.8%)
CIE-LABlab(16.05, 28.34, -25.77)
CIE-LCHlch(16.05, 38.31, 317.72°)
OKLaboklab(28.86% 0.0687 -0.0725)
OKLCHoklch(28.86% 0.1 313.5)
XYZxyz(3.5092, 2.1094, 7.2420)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C174D #284D17
analogous
#21174D #3C174D #4D1743
triadic
#3C174D #4D3C17 #174D3C
tetradic
#3C174D #4D2117 #284D17 #17434D
square
#3C174D #4D2117 #284D17 #17434D
split-complementary
#3C174D #434D17 #174D21
monochromatic
#120718 #17091E #3C174D #61257C #8533AB

Accessibility & contrast

On white

14.77
#3C174D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3C174D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C174D
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C174D#FFFFFF#000000##FFFFFF
##3C174D1.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02264F
Deuteranopia (green-blind)
#14294C
Tritanopia (blue-blind)
#3A212F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3c174d;
/* rgb */ color: rgb(60, 23, 77);
/* oklch */ color: oklch(28.9% 0.100 313.5);
Tailwind
colors: {
  custom: {
    50: '#74577f',
    500: '#3c174d',
    950: '#000000',
  },
}
SCSS
$custom: #3c174d;
$custom-light: #74577f;
$custom-dark: #000000;
JSON
{
  "hex": "#3c174d",
  "rgb": {
    "r": 60,
    "g": 23,
    "b": 77
  },
  "hsl": {
    "h": 281.111,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28856,
    "c": 0.09985,
    "h": 313.5
  },
  "luminance": 0.02109
}

Semantic roles & 50–950 ramp

primary
#3C174D
secondary
#52843C
accent
#DD4A79
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3C174D

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

Preview Lab → · Contrast checker → · Palette generator →

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