#3D164A#3D164A

#3D164A is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.6% C 0.098 H 316.7°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#3D164A
RGBrgb(61, 22, 74)
HSLhsl(285, 54%, 19%)
HSVhsv(285, 70%, 29%)
CMYKcmyk(17.6%, 70.3%, 0%, 71%)
CIE-LABlab(15.80, 28.43, -24.10)
CIE-LCHlch(15.80, 37.27, 319.71°)
OKLaboklab(28.64% 0.0716 -0.0675)
OKLCHoklch(28.64% 0.098 316.7)
XYZxyz(3.4472, 2.0605, 6.6934)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D164A #234A16
analogous
#23164A #3D164A #4A163D
triadic
#3D164A #4A3D16 #164A3D
tetradic
#3D164A #4A2316 #234A16 #163D4A
square
#3D164A #4A2316 #234A16 #163D4A
split-complementary
#3D164A #3D4A16 #164A23
monochromatic
#130718 #16081B #3D164A #642479 #8B32A8

Accessibility & contrast

On white

14.87
#3D164A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3D164A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D164A
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D164A#FFFFFF#000000##FFFFFF
##3D164A1.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05254C
Deuteranopia (green-blind)
#172949
Tritanopia (blue-blind)
#3C1F2D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3d164a;
/* rgb */ color: rgb(61, 22, 74);
/* oklch */ color: oklch(28.6% 0.098 316.7);
Tailwind
colors: {
  custom: {
    50: '#74567d',
    500: '#3d164a',
    950: '#000000',
  },
}
SCSS
$custom: #3d164a;
$custom-light: #74567d;
$custom-dark: #000000;
JSON
{
  "hex": "#3d164a",
  "rgb": {
    "r": 61,
    "g": 22,
    "b": 74
  },
  "hsl": {
    "h": 285,
    "s": 54.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28641,
    "c": 0.09846,
    "h": 316.7
  },
  "luminance": 0.0206
}

Semantic roles & 50–950 ramp

primary
#3D164A
secondary
#4C823A
accent
#DE4A6F
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#080309
muted
#7B787B

Preview Lab

Preview with #3D164A

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

Preview Lab → · Contrast checker → · Palette generator →

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