#3F164D#3F164D

#3F164D is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.2% C 0.103 H 316.4°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#3F164D
RGBrgb(63, 22, 77)
HSLhsl(285, 56%, 19%)
HSVhsv(285, 71%, 30%)
CMYKcmyk(18.2%, 71.4%, 0%, 69.8%)
CIE-LABlab(16.34, 29.70, -25.29)
CIE-LCHlch(16.34, 39.01, 319.59°)
OKLaboklab(29.16% 0.0745 -0.0709)
OKLCHoklch(29.16% 0.103 316.4)
XYZxyz(3.6762, 2.1665, 7.2443)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F164D #244D16
analogous
#24164D #3F164D #4D1640
triadic
#3F164D #4D3F16 #164D3F
tetradic
#3F164D #4D2416 #244D16 #16404D
square
#3F164D #4D2416 #244D16 #16404D
split-complementary
#3F164D #404D16 #164D24
monochromatic
#130718 #18081D #3F164D #66247D #8D31AC

Accessibility & contrast

On white

14.65
#3F164D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F164D
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F164D#FFFFFF#000000##FFFFFF
##3F164D1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03264F
Deuteranopia (green-blind)
#162A4C
Tritanopia (blue-blind)
#3E202F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3f164d;
/* rgb */ color: rgb(63, 22, 77);
/* oklch */ color: oklch(29.2% 0.103 316.4);
Tailwind
colors: {
  custom: {
    50: '#76577f',
    500: '#3f164d',
    950: '#000000',
  },
}
SCSS
$custom: #3f164d;
$custom-light: #76577f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f164d",
  "rgb": {
    "r": 63,
    "g": 22,
    "b": 77
  },
  "hsl": {
    "h": 284.727,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29164,
    "c": 0.10285,
    "h": 316.4
  },
  "luminance": 0.02166
}

Semantic roles & 50–950 ramp

primary
#3F164D
secondary
#4D853A
accent
#DF496F
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F164D

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

Preview Lab → · Contrast checker → · Palette generator →

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