#4C164A#4C164A

#4C164A is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.0% C 0.107 H 329.3°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#4C164A
RGBrgb(76, 22, 74)
HSLhsl(302, 55%, 19%)
HSVhsv(302, 71%, 30%)
CMYKcmyk(0%, 71.1%, 2.6%, 70.2%)
CIE-LABlab(18.39, 32.71, -19.84)
CIE-LCHlch(18.39, 38.25, 328.76°)
OKLaboklab(31.04% 0.0921 -0.0547)
OKLCHoklch(31.04% 0.107 329.3)
XYZxyz(4.5034, 2.6050, 6.7429)
Luminance0.0261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C164A #164C18
analogous
#33164C #4C164A #4C162F
triadic
#4C164A #4A4C16 #164A4C
tetradic
#4C164A #4C3316 #164C18 #162F4C
square
#4C164A #4C3316 #164C18 #162F4C
split-complementary
#4C164A #2F4C16 #164C33
monochromatic
#180717 #1D081C #4C164A #7B2478 #AB31A6

Accessibility & contrast

On white

13.81
#4C164A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4C164A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C164A
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C164A#FFFFFF#000000##FFFFFF
##4C164A1.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11284C
Deuteranopia (green-blind)
#242F49
Tritanopia (blue-blind)
#4F1C2D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4c164a;
/* rgb */ color: rgb(76, 22, 74);
/* oklch */ color: oklch(31.0% 0.107 329.3);
Tailwind
colors: {
  custom: {
    50: '#80587d',
    500: '#4c164a',
    950: '#000000',
  },
}
SCSS
$custom: #4c164a;
$custom-light: #80587d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c164a",
  "rgb": {
    "r": 76,
    "g": 22,
    "b": 74
  },
  "hsl": {
    "h": 302.222,
    "s": 55.102,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31036,
    "c": 0.10711,
    "h": 329.3
  },
  "luminance": 0.02605
}

Semantic roles & 50–950 ramp

primary
#4C164A
secondary
#3A843D
accent
#DE4F49
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4C164A

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

Preview Lab → · Contrast checker → · Palette generator →

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