#3C174B#3C174B

#3C174B is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.7% C 0.097 H 314.8°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#3C174B
RGBrgb(60, 23, 75)
HSLhsl(283, 53%, 19%)
HSVhsv(283, 69%, 29%)
CMYKcmyk(20%, 69.3%, 0%, 70.6%)
CIE-LABlab(15.91, 27.84, -24.63)
CIE-LCHlch(15.91, 37.17, 318.51°)
OKLaboklab(28.71% 0.0687 -0.0691)
OKLCHoklch(28.71% 0.097 314.8)
XYZxyz(3.4397, 2.0816, 6.8758)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C174B #264B17
analogous
#22174B #3C174B #4B1740
triadic
#3C174B #4B3C17 #174B3C
tetradic
#3C174B #4B2217 #264B17 #17404B
square
#3C174B #4B2217 #264B17 #17404B
split-complementary
#3C174B #404B17 #174B22
monochromatic
#130717 #17091C #3C174B #61257A #8734A9

Accessibility & contrast

On white

14.83
#3C174B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C174B
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C174B#FFFFFF#000000##FFFFFF
##3C174B1.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05254D
Deuteranopia (green-blind)
#16294A
Tritanopia (blue-blind)
#3B202E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3c174b;
/* rgb */ color: rgb(60, 23, 75);
/* oklch */ color: oklch(28.7% 0.097 314.8);
Tailwind
colors: {
  custom: {
    50: '#74577d',
    500: '#3c174b',
    950: '#000000',
  },
}
SCSS
$custom: #3c174b;
$custom-light: #74577d;
$custom-dark: #000000;
JSON
{
  "hex": "#3c174b",
  "rgb": {
    "r": 60,
    "g": 23,
    "b": 75
  },
  "hsl": {
    "h": 282.692,
    "s": 53.061,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28708,
    "c": 0.09748,
    "h": 314.8
  },
  "luminance": 0.02081
}

Semantic roles & 50–950 ramp

primary
#3C174B
secondary
#50823C
accent
#DC4B75
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3C174B

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

Preview Lab → · Contrast checker → · Palette generator →

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