#3F164C#3F164C

#3F164C is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.1% C 0.102 H 317.1°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#3F164C
RGBrgb(63, 22, 76)
HSLhsl(286, 55%, 19%)
HSVhsv(286, 71%, 30%)
CMYKcmyk(17.1%, 71.1%, 0%, 70.2%)
CIE-LABlab(16.27, 29.47, -24.71)
CIE-LCHlch(16.27, 38.46, 320.01°)
OKLaboklab(29.09% 0.0745 -0.0693)
OKLCHoklch(29.09% 0.102 317.1)
XYZxyz(3.6411, 2.1525, 7.0598)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F164C #234C16
analogous
#24164C #3F164C #4C163E
triadic
#3F164C #4C3F16 #164C3F
tetradic
#3F164C #4C2416 #234C16 #163E4C
square
#3F164C #4C2416 #234C16 #163E4C
split-complementary
#3F164C #3E4C16 #164C24
monochromatic
#140718 #18081D #3F164C #66247B #8E31AB

Accessibility & contrast

On white

14.68
#3F164C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F164C
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F164C#FFFFFF#000000##FFFFFF
##3F164C1.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04264E
Deuteranopia (green-blind)
#172A4B
Tritanopia (blue-blind)
#3E202E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3f164c;
/* rgb */ color: rgb(63, 22, 76);
/* oklch */ color: oklch(29.1% 0.102 317.1);
Tailwind
colors: {
  custom: {
    50: '#76577e',
    500: '#3f164c',
    950: '#000000',
  },
}
SCSS
$custom: #3f164c;
$custom-light: #76577e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f164c",
  "rgb": {
    "r": 63,
    "g": 22,
    "b": 76
  },
  "hsl": {
    "h": 285.556,
    "s": 55.102,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29091,
    "c": 0.10171,
    "h": 317.1
  },
  "luminance": 0.02152
}

Semantic roles & 50–950 ramp

primary
#3F164C
secondary
#4C843A
accent
#DE496D
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F164C

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

Preview Lab → · Contrast checker → · Palette generator →

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