#3F164E#3F164E

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

Color values

HEX#3F164E
RGBrgb(63, 22, 78)
HSLhsl(284, 56%, 20%)
HSVhsv(284, 72%, 31%)
CMYKcmyk(19.2%, 71.8%, 0%, 69.4%)
CIE-LABlab(16.41, 29.94, -25.86)
CIE-LCHlch(16.41, 39.56, 319.19°)
OKLaboklab(29.24% 0.0744 -0.0726)
OKLCHoklch(29.24% 0.104 315.7)
XYZxyz(3.7117, 2.1808, 7.4317)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F164E #254E16
analogous
#23164E #3F164E #4E1641
triadic
#3F164E #4E3F16 #164E3F
tetradic
#3F164E #4E2316 #254E16 #16414E
square
#3F164E #4E2316 #254E16 #16414E
split-complementary
#3F164E #414E16 #164E23
monochromatic
#130718 #18091E #3F164E #66237E #8C31AD

Accessibility & contrast

On white

14.62
#3F164E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#3F164E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F164E
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F164E#FFFFFF#000000##FFFFFF
##3F164E1.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012650
Deuteranopia (green-blind)
#162A4D
Tritanopia (blue-blind)
#3E202F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3f164e;
/* rgb */ color: rgb(63, 22, 78);
/* oklch */ color: oklch(29.2% 0.104 315.7);
Tailwind
colors: {
  custom: {
    50: '#765780',
    500: '#3f164e',
    950: '#000000',
  },
}
SCSS
$custom: #3f164e;
$custom-light: #765780;
$custom-dark: #000000;
JSON
{
  "hex": "#3f164e",
  "rgb": {
    "r": 63,
    "g": 22,
    "b": 78
  },
  "hsl": {
    "h": 283.929,
    "s": 56,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29238,
    "c": 0.10398,
    "h": 315.7
  },
  "luminance": 0.02181
}

Semantic roles & 50–950 ramp

primary
#3F164E
secondary
#4E853A
accent
#DF4971
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F164E

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

Preview Lab → · Contrast checker → · Palette generator →

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