#4C164C#4C164C

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

Color values

HEX#4C164C
RGBrgb(76, 22, 76)
HSLhsl(300, 55%, 19%)
HSVhsv(300, 71%, 30%)
CMYKcmyk(0%, 71.1%, 0%, 70.2%)
CIE-LABlab(18.51, 33.10, -21.02)
CIE-LCHlch(18.51, 39.21, 327.59°)
OKLaboklab(31.16% 0.0923 -0.0581)
OKLCHoklch(31.16% 0.109 327.8)
XYZxyz(4.5718, 2.6324, 7.1034)
Luminance0.0263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C164C #164C16
analogous
#31164C #4C164C #4C1631
triadic
#4C164C #4C4C16 #164C4C
tetradic
#4C164C #4C3116 #164C16 #16314C
square
#4C164C #4C3116 #164C16 #16314C
split-complementary
#4C164C #314C16 #164C31
monochromatic
#180718 #1D081D #4C164C #7B247B #AB31AB

Accessibility & contrast

On white

13.76
#4C164C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C164C
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C164C#FFFFFF#000000##FFFFFF
##4C164C1.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F294E
Deuteranopia (green-blind)
#23304B
Tritanopia (blue-blind)
#4F1D2E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4c164c;
/* rgb */ color: rgb(76, 22, 76);
/* oklch */ color: oklch(31.2% 0.109 327.8);
Tailwind
colors: {
  custom: {
    50: '#80587e',
    500: '#4c164c',
    950: '#000000',
  },
}
SCSS
$custom: #4c164c;
$custom-light: #80587e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c164c",
  "rgb": {
    "r": 76,
    "g": 22,
    "b": 76
  },
  "hsl": {
    "h": 300,
    "s": 55.102,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31162,
    "c": 0.10901,
    "h": 327.8
  },
  "luminance": 0.02632
}

Semantic roles & 50–950 ramp

primary
#4C164C
secondary
#3A843A
accent
#DE4949
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4C164C

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

Preview Lab → · Contrast checker → · Palette generator →

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