#3F164F#3F164F

#3F164F is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.3% C 0.105 H 315.1°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#3F164F
RGBrgb(63, 22, 79)
HSLhsl(283, 56%, 20%)
HSVhsv(283, 72%, 31%)
CMYKcmyk(20.3%, 72.2%, 0%, 69%)
CIE-LABlab(16.48, 30.18, -26.43)
CIE-LCHlch(16.48, 40.12, 318.80°)
OKLaboklab(29.31% 0.0744 -0.0743)
OKLCHoklch(29.31% 0.105 315.1)
XYZxyz(3.7479, 2.1952, 7.6219)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F164F #264F16
analogous
#23164F #3F164F #4F1643
triadic
#3F164F #4F3F16 #164F3F
tetradic
#3F164F #4F2316 #264F16 #16434F
square
#3F164F #4F2316 #264F16 #16434F
split-complementary
#3F164F #434F16 #164F23
monochromatic
#130718 #19091F #3F164F #65237F #8B31AF

Accessibility & contrast

On white

14.59
#3F164F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F164F
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F164F#FFFFFF#000000##FFFFFF
##3F164F1.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002651
Deuteranopia (green-blind)
#152A4E
Tritanopia (blue-blind)
#3E2130
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3f164f;
/* rgb */ color: rgb(63, 22, 79);
/* oklch */ color: oklch(29.3% 0.105 315.1);
Tailwind
colors: {
  custom: {
    50: '#765781',
    500: '#3f164f',
    950: '#000000',
  },
}
SCSS
$custom: #3f164f;
$custom-light: #765781;
$custom-dark: #000000;
JSON
{
  "hex": "#3f164f",
  "rgb": {
    "r": 63,
    "g": 22,
    "b": 79
  },
  "hsl": {
    "h": 283.158,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29312,
    "c": 0.10511,
    "h": 315.1
  },
  "luminance": 0.02195
}

Semantic roles & 50–950 ramp

primary
#3F164F
secondary
#50863A
accent
#E04873
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F164F

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

Preview Lab → · Contrast checker → · Palette generator →

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