#4A164A#4A164A

#4A164A is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.7% C 0.106 H 327.8°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#4A164A
RGBrgb(74, 22, 74)
HSLhsl(300, 54%, 19%)
HSVhsv(300, 70%, 29%)
CMYKcmyk(0%, 70.3%, 0%, 71%)
CIE-LABlab(18.03, 32.13, -20.43)
CIE-LCHlch(18.03, 38.08, 327.55°)
OKLaboklab(30.71% 0.0895 -0.0564)
OKLCHoklch(30.71% 0.106 327.8)
XYZxyz(4.3469, 2.5244, 6.7355)
Luminance0.0252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A164A #164A16
analogous
#30164A #4A164A #4A1630
triadic
#4A164A #4A4A16 #164A4A
tetradic
#4A164A #4A3016 #164A16 #16304A
square
#4A164A #4A3016 #164A16 #16304A
split-complementary
#4A164A #304A16 #164A30
monochromatic
#180718 #1B081B #4A164A #792479 #A832A8

Accessibility & contrast

On white

13.96
#4A164A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4A164A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A164A
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A164A#FFFFFF#000000##FFFFFF
##4A164A1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F284C
Deuteranopia (green-blind)
#232E49
Tritanopia (blue-blind)
#4C1D2D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4a164a;
/* rgb */ color: rgb(74, 22, 74);
/* oklch */ color: oklch(30.7% 0.106 327.8);
Tailwind
colors: {
  custom: {
    50: '#7f587d',
    500: '#4a164a',
    950: '#000000',
  },
}
SCSS
$custom: #4a164a;
$custom-light: #7f587d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a164a",
  "rgb": {
    "r": 74,
    "g": 22,
    "b": 74
  },
  "hsl": {
    "h": 300,
    "s": 54.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30705,
    "c": 0.10583,
    "h": 327.8
  },
  "luminance": 0.02524
}

Semantic roles & 50–950 ramp

primary
#4A164A
secondary
#3A823A
accent
#DE4A4A
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4A164A

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

Preview Lab → · Contrast checker → · Palette generator →

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