#4E164B#4E164B

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

Color values

HEX#4E164B
RGBrgb(78, 22, 75)
HSLhsl(303, 56%, 20%)
HSVhsv(303, 72%, 31%)
CMYKcmyk(0%, 71.8%, 3.8%, 69.4%)
CIE-LABlab(18.81, 33.47, -19.84)
CIE-LCHlch(18.81, 38.91, 329.35°)
OKLaboklab(31.43% 0.0947 -0.0546)
OKLCHoklch(31.43% 0.109 330)
XYZxyz(4.6988, 2.7019, 6.9293)
Luminance0.0270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E164B #164E19
analogous
#35164E #4E164B #4E162F
triadic
#4E164B #4B4E16 #164B4E
tetradic
#4E164B #4E3516 #164E19 #162F4E
square
#4E164B #4E3516 #164E19 #162F4E
split-complementary
#4E164B #2F4E16 #164E35
monochromatic
#180717 #1E091D #4E164B #7E2379 #AD31A7

Accessibility & contrast

On white

13.63
#4E164B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E164B
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E164B#FFFFFF#000000##FFFFFF
##4E164B1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11294D
Deuteranopia (green-blind)
#25304A
Tritanopia (blue-blind)
#511C2E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e164b;
/* rgb */ color: rgb(78, 22, 75);
/* oklch */ color: oklch(31.4% 0.109 330.0);
Tailwind
colors: {
  custom: {
    50: '#82587d',
    500: '#4e164b',
    950: '#000000',
  },
}
SCSS
$custom: #4e164b;
$custom-light: #82587d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e164b",
  "rgb": {
    "r": 78,
    "g": 22,
    "b": 75
  },
  "hsl": {
    "h": 303.214,
    "s": 56,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31431,
    "c": 0.10933,
    "h": 330
  },
  "luminance": 0.02702
}

Semantic roles & 50–950 ramp

primary
#4E164B
secondary
#3A853E
accent
#DF5149
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #4E164B

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

Preview Lab → · Contrast checker → · Palette generator →

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