#4F164F#4F164F

#4F164F is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.8% C 0.114 H 327.8°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#4F164F
RGBrgb(79, 22, 79)
HSLhsl(300, 56%, 20%)
HSVhsv(300, 72%, 31%)
CMYKcmyk(0%, 72.2%, 0%, 69%)
CIE-LABlab(19.23, 34.53, -21.89)
CIE-LCHlch(19.23, 40.88, 327.63°)
OKLaboklab(31.85% 0.0963 -0.0605)
OKLCHoklch(31.85% 0.114 327.8)
XYZxyz(4.9226, 2.8009, 7.6770)
Luminance0.0280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F164F #164F16
analogous
#33164F #4F164F #4F1633
triadic
#4F164F #4F4F16 #164F4F
tetradic
#4F164F #4F3316 #164F16 #16334F
square
#4F164F #4F3316 #164F16 #16334F
split-complementary
#4F164F #334F16 #164F33
monochromatic
#180718 #1F091F #4F164F #7F237F #AF31AF

Accessibility & contrast

On white

13.46
#4F164F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4F164F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F164F
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F164F#FFFFFF#000000##FFFFFF
##4F164F1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2A51
Deuteranopia (green-blind)
#24314D
Tritanopia (blue-blind)
#521E30
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4f164f;
/* rgb */ color: rgb(79, 22, 79);
/* oklch */ color: oklch(31.8% 0.114 327.8);
Tailwind
colors: {
  custom: {
    50: '#835980',
    500: '#4f164f',
    950: '#000000',
  },
}
SCSS
$custom: #4f164f;
$custom-light: #835980;
$custom-dark: #000000;
JSON
{
  "hex": "#4f164f",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 79
  },
  "hsl": {
    "h": 300,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31849,
    "c": 0.11369,
    "h": 327.8
  },
  "luminance": 0.02801
}

Semantic roles & 50–950 ramp

primary
#4F164F
secondary
#3A863A
accent
#E04848
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4F164F

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

Preview Lab → · Contrast checker → · Palette generator →

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