#4C164F#4C164F

#4C164F is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.4% C 0.112 H 325.6°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#4C164F
RGBrgb(76, 22, 79)
HSLhsl(297, 56%, 20%)
HSVhsv(297, 72%, 31%)
CMYKcmyk(3.8%, 72.2%, 0%, 69%)
CIE-LABlab(18.69, 33.71, -22.77)
CIE-LCHlch(18.69, 40.68, 325.96°)
OKLaboklab(31.36% 0.0924 -0.0632)
OKLCHoklch(31.36% 0.112 325.6)
XYZxyz(4.6786, 2.6751, 7.6655)
Luminance0.0267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C164F #194F16
analogous
#30164F #4C164F #4F1636
triadic
#4C164F #4F4C16 #164F4C
tetradic
#4C164F #4F3016 #194F16 #16364F
square
#4C164F #4F3016 #194F16 #16364F
split-complementary
#4C164F #364F16 #164F30
monochromatic
#170718 #1E091F #4C164F #7A237F #A831AF

Accessibility & contrast

On white

13.68
#4C164F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4C164F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C164F
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C164F#FFFFFF#000000##FFFFFF
##4C164F1.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2951
Deuteranopia (green-blind)
#22304E
Tritanopia (blue-blind)
#4E1F30
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4c164f;
/* rgb */ color: rgb(76, 22, 79);
/* oklch */ color: oklch(31.4% 0.112 325.6);
Tailwind
colors: {
  custom: {
    50: '#805880',
    500: '#4c164f',
    950: '#000000',
  },
}
SCSS
$custom: #4c164f;
$custom-light: #805880;
$custom-dark: #000000;
JSON
{
  "hex": "#4c164f",
  "rgb": {
    "r": 76,
    "g": 22,
    "b": 79
  },
  "hsl": {
    "h": 296.842,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31356,
    "c": 0.11191,
    "h": 325.6
  },
  "luminance": 0.02675
}

Semantic roles & 50–950 ramp

primary
#4C164F
secondary
#3E863A
accent
#E04850
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4C164F

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

Preview Lab → · Contrast checker → · Palette generator →

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