#3D164D#3D164D

#3D164D is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.9% C 0.102 H 314.6°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#3D164D
RGBrgb(61, 22, 77)
HSLhsl(283, 56%, 19%)
HSVhsv(283, 71%, 30%)
CMYKcmyk(20.8%, 71.4%, 0%, 69.8%)
CIE-LABlab(16.01, 29.16, -25.82)
CIE-LCHlch(16.01, 38.95, 318.47°)
OKLaboklab(28.86% 0.0716 -0.0726)
OKLCHoklch(28.86% 0.102 314.6)
XYZxyz(3.5507, 2.1019, 7.2384)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D164D #264D16
analogous
#21164D #3D164D #4D1642
triadic
#3D164D #4D3D16 #164D3D
tetradic
#3D164D #4D2116 #264D16 #16424D
square
#3D164D #4D2116 #264D16 #16424D
split-complementary
#3D164D #424D16 #164D21
monochromatic
#130718 #17081D #3D164D #63247D #8831AC

Accessibility & contrast

On white

14.78
#3D164D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D164D
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D164D#FFFFFF#000000##FFFFFF
##3D164D1.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01264F
Deuteranopia (green-blind)
#14294C
Tritanopia (blue-blind)
#3C202F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3d164d;
/* rgb */ color: rgb(61, 22, 77);
/* oklch */ color: oklch(28.9% 0.102 314.6);
Tailwind
colors: {
  custom: {
    50: '#75567f',
    500: '#3d164d',
    950: '#000000',
  },
}
SCSS
$custom: #3d164d;
$custom-light: #75567f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d164d",
  "rgb": {
    "r": 61,
    "g": 22,
    "b": 77
  },
  "hsl": {
    "h": 282.545,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28862,
    "c": 0.10192,
    "h": 314.6
  },
  "luminance": 0.02102
}

Semantic roles & 50–950 ramp

primary
#3D164D
secondary
#50853A
accent
#DF4975
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3D164D

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

Preview Lab → · Contrast checker → · Palette generator →

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