#3D174A#3D174A

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

Color values

HEX#3D174A
RGBrgb(61, 23, 74)
HSLhsl(285, 53%, 19%)
HSVhsv(285, 69%, 29%)
CMYKcmyk(17.6%, 68.9%, 0%, 71%)
CIE-LABlab(16.00, 27.88, -23.79)
CIE-LCHlch(16.00, 36.65, 319.54°)
OKLaboklab(28.79% 0.0702 -0.0666)
OKLCHoklch(28.79% 0.097 316.5)
XYZxyz(3.4667, 2.0994, 6.6999)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D174A #244A17
analogous
#24174A #3D174A #4A173E
triadic
#3D174A #4A3D17 #174A3D
tetradic
#3D174A #4A2417 #244A17 #173E4A
square
#3D174A #4A2417 #244A17 #173E4A
split-complementary
#3D174A #3E4A17 #174A24
monochromatic
#130717 #17081B #3D174A #632679 #8A34A7

Accessibility & contrast

On white

14.79
#3D174A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D174A
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D174A#FFFFFF#000000##FFFFFF
##3D174A1.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07254C
Deuteranopia (green-blind)
#182949
Tritanopia (blue-blind)
#3C202E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3d174a;
/* rgb */ color: rgb(61, 23, 74);
/* oklch */ color: oklch(28.8% 0.097 316.5);
Tailwind
colors: {
  custom: {
    50: '#74577d',
    500: '#3d174a',
    950: '#000000',
  },
}
SCSS
$custom: #3d174a;
$custom-light: #74577d;
$custom-dark: #000000;
JSON
{
  "hex": "#3d174a",
  "rgb": {
    "r": 61,
    "g": 23,
    "b": 74
  },
  "hsl": {
    "h": 284.706,
    "s": 52.577,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28785,
    "c": 0.09678,
    "h": 316.5
  },
  "luminance": 0.02099
}

Semantic roles & 50–950 ramp

primary
#3D174A
secondary
#4D813C
accent
#DC4C71
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#080309
muted
#7B787B

Preview Lab

Preview with #3D174A

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

Preview Lab → · Contrast checker → · Palette generator →

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