#4A164D#4A164D

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

Color values

HEX#4A164D
RGBrgb(74, 22, 77)
HSLhsl(297, 56%, 19%)
HSVhsv(297, 71%, 30%)
CMYKcmyk(3.9%, 71.4%, 0%, 69.8%)
CIE-LABlab(18.21, 32.74, -22.19)
CIE-LCHlch(18.21, 39.55, 325.88°)
OKLaboklab(30.9% 0.0897 -0.0615)
OKLCHoklch(30.9% 0.109 325.5)
XYZxyz(4.4504, 2.5658, 7.2806)
Luminance0.0256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A164D #194D16
analogous
#2F164D #4A164D #4D1635
triadic
#4A164D #4D4A16 #164D4A
tetradic
#4A164D #4D2F16 #194D16 #16354D
square
#4A164D #4D2F16 #194D16 #16354D
split-complementary
#4A164D #354D16 #164D2F
monochromatic
#170718 #1C081D #4A164D #78247D #A531AC

Accessibility & contrast

On white

13.88
#4A164D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4A164D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A164D
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A164D#FFFFFF#000000##FFFFFF
##4A164D1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C284F
Deuteranopia (green-blind)
#212F4C
Tritanopia (blue-blind)
#4C1E2F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4a164d;
/* rgb */ color: rgb(74, 22, 77);
/* oklch */ color: oklch(30.9% 0.109 325.5);
Tailwind
colors: {
  custom: {
    50: '#7f587f',
    500: '#4a164d',
    950: '#000000',
  },
}
SCSS
$custom: #4a164d;
$custom-light: #7f587f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a164d",
  "rgb": {
    "r": 74,
    "g": 22,
    "b": 77
  },
  "hsl": {
    "h": 296.727,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30899,
    "c": 0.10877,
    "h": 325.5
  },
  "luminance": 0.02565
}

Semantic roles & 50–950 ramp

primary
#4A164D
secondary
#3E853A
accent
#DF4951
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A164D

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

Preview Lab → · Contrast checker → · Palette generator →

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