#3D164F#3D164F

#3D164F is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.0% C 0.104 H 313.3°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#3D164F
RGBrgb(61, 22, 79)
HSLhsl(281, 56%, 20%)
HSVhsv(281, 72%, 31%)
CMYKcmyk(22.8%, 72.2%, 0%, 69%)
CIE-LABlab(16.16, 29.65, -26.96)
CIE-LCHlch(16.16, 40.08, 317.72°)
OKLaboklab(29.01% 0.0715 -0.0759)
OKLCHoklch(29.01% 0.104 313.3)
XYZxyz(3.6224, 2.1305, 7.6160)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D164F #284F16
analogous
#21164F #3D164F #4F1645
triadic
#3D164F #4F3D16 #164F3D
tetradic
#3D164F #4F2116 #284F16 #16454F
square
#3D164F #4F2116 #284F16 #16454F
split-complementary
#3D164F #454F16 #164F21
monochromatic
#120718 #18091F #3D164F #62237F #8731AF

Accessibility & contrast

On white

14.73
#3D164F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#3D164F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D164F
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D164F#FFFFFF#000000##FFFFFF
##3D164F1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002651
Deuteranopia (green-blind)
#12294E
Tritanopia (blue-blind)
#3B2130
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3d164f;
/* rgb */ color: rgb(61, 22, 79);
/* oklch */ color: oklch(29.0% 0.104 313.3);
Tailwind
colors: {
  custom: {
    50: '#755681',
    500: '#3d164f',
    950: '#000000',
  },
}
SCSS
$custom: #3d164f;
$custom-light: #755681;
$custom-dark: #000000;
JSON
{
  "hex": "#3d164f",
  "rgb": {
    "r": 61,
    "g": 22,
    "b": 79
  },
  "hsl": {
    "h": 281.053,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29013,
    "c": 0.10424,
    "h": 313.3
  },
  "luminance": 0.0213
}

Semantic roles & 50–950 ramp

primary
#3D164F
secondary
#52863A
accent
#E04878
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3D164F

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

Preview Lab → · Contrast checker → · Palette generator →

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