#4C164D#4C164D

#4C164D is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.2% C 0.110 H 327.1°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#4C164D
RGBrgb(76, 22, 77)
HSLhsl(299, 56%, 19%)
HSVhsv(299, 71%, 30%)
CMYKcmyk(1.3%, 71.4%, 0%, 69.8%)
CIE-LABlab(18.57, 33.30, -21.60)
CIE-LCHlch(18.57, 39.70, 327.03°)
OKLaboklab(31.23% 0.0923 -0.0598)
OKLCHoklch(31.23% 0.11 327.1)
XYZxyz(4.6069, 2.6464, 7.2879)
Luminance0.0265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C164D #174D16
analogous
#31164D #4C164D #4D1633
triadic
#4C164D #4D4C16 #164D4C
tetradic
#4C164D #4D3116 #174D16 #16334D
square
#4C164D #4D3116 #174D16 #16334D
split-complementary
#4C164D #334D16 #164D31
monochromatic
#170718 #1D081D #4C164D #7B247D #AA31AC

Accessibility & contrast

On white

13.73
#4C164D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4C164D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C164D
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C164D#FFFFFF#000000##FFFFFF
##4C164D1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E294F
Deuteranopia (green-blind)
#23304C
Tritanopia (blue-blind)
#4E1E2F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4c164d;
/* rgb */ color: rgb(76, 22, 77);
/* oklch */ color: oklch(31.2% 0.110 327.1);
Tailwind
colors: {
  custom: {
    50: '#80587f',
    500: '#4c164d',
    950: '#000000',
  },
}
SCSS
$custom: #4c164d;
$custom-light: #80587f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c164d",
  "rgb": {
    "r": 76,
    "g": 22,
    "b": 77
  },
  "hsl": {
    "h": 298.909,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31226,
    "c": 0.10997,
    "h": 327.1
  },
  "luminance": 0.02646
}

Semantic roles & 50–950 ramp

primary
#4C164D
secondary
#3C853A
accent
#DF494C
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4C164D

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

Preview Lab → · Contrast checker → · Palette generator →

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