#4E164A#4E164A

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

Color values

HEX#4E164A
RGBrgb(78, 22, 74)
HSLhsl(304, 56%, 20%)
HSVhsv(304, 72%, 31%)
CMYKcmyk(0%, 71.8%, 5.1%, 69.4%)
CIE-LABlab(18.75, 33.28, -19.24)
CIE-LCHlch(18.75, 38.44, 329.96°)
OKLaboklab(31.37% 0.0946 -0.0529)
OKLCHoklch(31.37% 0.108 330.8)
XYZxyz(4.6648, 2.6883, 6.7504)
Luminance0.0269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E164A #164E1A
analogous
#36164E #4E164A #4E162E
triadic
#4E164A #4A4E16 #164A4E
tetradic
#4E164A #4E3616 #164E1A #162E4E
square
#4E164A #4E3616 #164E1A #162E4E
split-complementary
#4E164A #2E4E16 #164E36
monochromatic
#180717 #1E091D #4E164A #7E2377 #AD31A5

Accessibility & contrast

On white

13.66
#4E164A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E164A
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E164A#FFFFFF#000000##FFFFFF
##4E164A1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12294C
Deuteranopia (green-blind)
#263049
Tritanopia (blue-blind)
#511C2D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e164a;
/* rgb */ color: rgb(78, 22, 74);
/* oklch */ color: oklch(31.4% 0.108 330.8);
Tailwind
colors: {
  custom: {
    50: '#82587c',
    500: '#4e164a',
    950: '#000000',
  },
}
SCSS
$custom: #4e164a;
$custom-light: #82587c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e164a",
  "rgb": {
    "r": 78,
    "g": 22,
    "b": 74
  },
  "hsl": {
    "h": 304.286,
    "s": 56,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3137,
    "c": 0.10841,
    "h": 330.8
  },
  "luminance": 0.02688
}

Semantic roles & 50–950 ramp

primary
#4E164A
secondary
#3A8540
accent
#DF5349
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #4E164A

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

Preview Lab → · Contrast checker → · Palette generator →

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