#4E164F#4E164F

#4E164F is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.7% C 0.113 H 327.1°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#4E164F
RGBrgb(78, 22, 79)
HSLhsl(299, 56%, 20%)
HSVhsv(299, 72%, 31%)
CMYKcmyk(1.3%, 72.2%, 0%, 69%)
CIE-LABlab(19.05, 34.25, -22.18)
CIE-LCHlch(19.05, 40.81, 327.07°)
OKLaboklab(31.68% 0.095 -0.0614)
OKLCHoklch(31.68% 0.113 327.1)
XYZxyz(4.8400, 2.7584, 7.6731)
Luminance0.0276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E164F #174F16
analogous
#31164F #4E164F #4F1634
triadic
#4E164F #4F4E16 #164F4E
tetradic
#4E164F #4F3116 #174F16 #16344F
square
#4E164F #4F3116 #174F16 #16344F
split-complementary
#4E164F #344F16 #164F31
monochromatic
#180718 #1F091F #4E164F #7D237F #AD31AF

Accessibility & contrast

On white

13.53
#4E164F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4E164F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E164F
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E164F#FFFFFF#000000##FFFFFF
##4E164F1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2A51
Deuteranopia (green-blind)
#23314E
Tritanopia (blue-blind)
#501E30
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e164f;
/* rgb */ color: rgb(78, 22, 79);
/* oklch */ color: oklch(31.7% 0.113 327.1);
Tailwind
colors: {
  custom: {
    50: '#825980',
    500: '#4e164f',
    950: '#000000',
  },
}
SCSS
$custom: #4e164f;
$custom-light: #825980;
$custom-dark: #000000;
JSON
{
  "hex": "#4e164f",
  "rgb": {
    "r": 78,
    "g": 22,
    "b": 79
  },
  "hsl": {
    "h": 298.947,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31684,
    "c": 0.11309,
    "h": 327.1
  },
  "luminance": 0.02758
}

Semantic roles & 50–950 ramp

primary
#4E164F
secondary
#3C863A
accent
#E0484B
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4E164F

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

Preview Lab → · Contrast checker → · Palette generator →

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