#4A164E#4A164E

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

Color values

HEX#4A164E
RGBrgb(74, 22, 78)
HSLhsl(296, 56%, 20%)
HSVhsv(296, 72%, 31%)
CMYKcmyk(5.1%, 71.8%, 0%, 69.4%)
CIE-LABlab(18.28, 32.95, -22.77)
CIE-LCHlch(18.28, 40.05, 325.35°)
OKLaboklab(30.96% 0.0897 -0.0632)
OKLCHoklch(30.96% 0.11 324.8)
XYZxyz(4.4860, 2.5800, 7.4680)
Luminance0.0258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A164E #1A4E16
analogous
#2E164E #4A164E #4E1636
triadic
#4A164E #4E4A16 #164E4A
tetradic
#4A164E #4E2E16 #1A4E16 #16364E
square
#4A164E #4E2E16 #1A4E16 #16364E
split-complementary
#4A164E #364E16 #164E2E
monochromatic
#170718 #1D091E #4A164E #77237E #A531AD

Accessibility & contrast

On white

13.85
#4A164E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A164E
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A164E#FFFFFF#000000##FFFFFF
##4A164E1.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2950
Deuteranopia (green-blind)
#202F4D
Tritanopia (blue-blind)
#4C1F30
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4a164e;
/* rgb */ color: rgb(74, 22, 78);
/* oklch */ color: oklch(31.0% 0.110 324.8);
Tailwind
colors: {
  custom: {
    50: '#7f5880',
    500: '#4a164e',
    950: '#000000',
  },
}
SCSS
$custom: #4a164e;
$custom-light: #7f5880;
$custom-dark: #000000;
JSON
{
  "hex": "#4a164e",
  "rgb": {
    "r": 74,
    "g": 22,
    "b": 78
  },
  "hsl": {
    "h": 295.714,
    "s": 56,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30965,
    "c": 0.10976,
    "h": 324.8
  },
  "luminance": 0.0258
}

Semantic roles & 50–950 ramp

primary
#4A164E
secondary
#40853A
accent
#DF4953
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A164E

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

Preview Lab → · Contrast checker → · Palette generator →

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