#4A164F#4A164F

#4A164F is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.0% C 0.111 H 324.1°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#4A164F
RGBrgb(74, 22, 79)
HSLhsl(295, 56%, 20%)
HSVhsv(295, 72%, 31%)
CMYKcmyk(6.3%, 72.2%, 0%, 69%)
CIE-LABlab(18.34, 33.16, -23.35)
CIE-LCHlch(18.34, 40.55, 324.85°)
OKLaboklab(31.03% 0.0897 -0.0649)
OKLCHoklch(31.03% 0.111 324.1)
XYZxyz(4.5221, 2.5944, 7.6582)
Luminance0.0259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A164F #1B4F16
analogous
#2E164F #4A164F #4F1638
triadic
#4A164F #4F4A16 #164F4A
tetradic
#4A164F #4F2E16 #1B4F16 #16384F
square
#4A164F #4F2E16 #1B4F16 #16384F
split-complementary
#4A164F #384F16 #164F2E
monochromatic
#160718 #1D091F #4A164F #77237F #A431AF

Accessibility & contrast

On white

13.83
#4A164F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4A164F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A164F
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A164F#FFFFFF#000000##FFFFFF
##4A164F1.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092951
Deuteranopia (green-blind)
#202F4E
Tritanopia (blue-blind)
#4C1F30
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4a164f;
/* rgb */ color: rgb(74, 22, 79);
/* oklch */ color: oklch(31.0% 0.111 324.1);
Tailwind
colors: {
  custom: {
    50: '#7f5880',
    500: '#4a164f',
    950: '#000000',
  },
}
SCSS
$custom: #4a164f;
$custom-light: #7f5880;
$custom-dark: #000000;
JSON
{
  "hex": "#4a164f",
  "rgb": {
    "r": 74,
    "g": 22,
    "b": 79
  },
  "hsl": {
    "h": 294.737,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31032,
    "c": 0.11075,
    "h": 324.1
  },
  "luminance": 0.02594
}

Semantic roles & 50–950 ramp

primary
#4A164F
secondary
#41863A
accent
#E04855
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A164F

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

Preview Lab → · Contrast checker → · Palette generator →

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