#3D164B#3D164B

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

Color values

HEX#3D164B
RGBrgb(61, 22, 75)
HSLhsl(284, 55%, 19%)
HSVhsv(284, 71%, 29%)
CMYKcmyk(18.7%, 70.7%, 0%, 70.6%)
CIE-LABlab(15.87, 28.67, -24.68)
CIE-LCHlch(15.87, 37.83, 319.28°)
OKLaboklab(28.71% 0.0716 -0.0692)
OKLCHoklch(28.71% 0.1 316)
XYZxyz(3.4812, 2.0740, 6.8722)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D164B #244B16
analogous
#23164B #3D164B #4B163F
triadic
#3D164B #4B3D16 #164B3D
tetradic
#3D164B #4B2316 #244B16 #163F4B
square
#3D164B #4B2316 #244B16 #163F4B
split-complementary
#3D164B #3F4B16 #164B23
monochromatic
#130718 #17081C #3D164B #63247A #8A32AA

Accessibility & contrast

On white

14.84
#3D164B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D164B
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D164B#FFFFFF#000000##FFFFFF
##3D164B1.0014.841.4114.84
#FFFFFF14.841.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04254D
Deuteranopia (green-blind)
#16294A
Tritanopia (blue-blind)
#3C202E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3d164b;
/* rgb */ color: rgb(61, 22, 75);
/* oklch */ color: oklch(28.7% 0.100 316.0);
Tailwind
colors: {
  custom: {
    50: '#75567d',
    500: '#3d164b',
    950: '#000000',
  },
}
SCSS
$custom: #3d164b;
$custom-light: #75567d;
$custom-dark: #000000;
JSON
{
  "hex": "#3d164b",
  "rgb": {
    "r": 61,
    "g": 22,
    "b": 75
  },
  "hsl": {
    "h": 284.151,
    "s": 54.639,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28714,
    "c": 0.0996,
    "h": 316
  },
  "luminance": 0.02074
}

Semantic roles & 50–950 ramp

primary
#3D164B
secondary
#4D833A
accent
#DE4A71
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3D164B

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

Preview Lab → · Contrast checker → · Palette generator →

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