#3C174C#3C174C

#3C174C is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.8% C 0.099 H 314.2°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#3C174C
RGBrgb(60, 23, 76)
HSLhsl(282, 54%, 19%)
HSVhsv(282, 70%, 30%)
CMYKcmyk(21.1%, 69.7%, 0%, 70.2%)
CIE-LABlab(15.98, 28.09, -25.20)
CIE-LCHlch(15.98, 37.74, 318.10°)
OKLaboklab(28.78% 0.0687 -0.0708)
OKLCHoklch(28.78% 0.099 314.2)
XYZxyz(3.4742, 2.0954, 7.0575)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C174C #274C17
analogous
#22174C #3C174C #4C1742
triadic
#3C174C #4C3C17 #174C3C
tetradic
#3C174C #4C2217 #274C17 #17424C
square
#3C174C #4C2217 #274C17 #17424C
split-complementary
#3C174C #424C17 #174C22
monochromatic
#130717 #17091D #3C174C #61257B #8633AA

Accessibility & contrast

On white

14.80
#3C174C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C174C
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C174C#FFFFFF#000000##FFFFFF
##3C174C1.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04264E
Deuteranopia (green-blind)
#15294B
Tritanopia (blue-blind)
#3B212F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3c174c;
/* rgb */ color: rgb(60, 23, 76);
/* oklch */ color: oklch(28.8% 0.099 314.2);
Tailwind
colors: {
  custom: {
    50: '#74577e',
    500: '#3c174c',
    950: '#000000',
  },
}
SCSS
$custom: #3c174c;
$custom-light: #74577e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c174c",
  "rgb": {
    "r": 60,
    "g": 23,
    "b": 76
  },
  "hsl": {
    "h": 281.887,
    "s": 53.535,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28782,
    "c": 0.09867,
    "h": 314.2
  },
  "luminance": 0.02095
}

Semantic roles & 50–950 ramp

primary
#3C174C
secondary
#51833C
accent
#DD4B77
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3C174C

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

Preview Lab → · Contrast checker → · Palette generator →

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