#4F164A#4F164A

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

Color values

HEX#4F164A
RGBrgb(79, 22, 74)
HSLhsl(305, 56%, 20%)
HSVhsv(305, 72%, 31%)
CMYKcmyk(0%, 72.2%, 6.3%, 69%)
CIE-LABlab(18.93, 33.57, -18.94)
CIE-LCHlch(18.93, 38.54, 330.56°)
OKLaboklab(31.54% 0.0959 -0.052)
OKLCHoklch(31.54% 0.109 331.5)
XYZxyz(4.7474, 2.7309, 6.7543)
Luminance0.0273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F164A #164F1B
analogous
#38164F #4F164A #4F162E
triadic
#4F164A #4A4F16 #164A4F
tetradic
#4F164A #4F3816 #164F1B #162E4F
square
#4F164A #4F3816 #164F1B #162E4F
split-complementary
#4F164A #2E4F16 #164F38
monochromatic
#180716 #1F091D #4F164A #7F2377 #AF31A4

Accessibility & contrast

On white

13.58
#4F164A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4F164A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F164A
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F164A#FFFFFF#000000##FFFFFF
##4F164A1.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13294C
Deuteranopia (green-blind)
#273149
Tritanopia (blue-blind)
#521C2D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4f164a;
/* rgb */ color: rgb(79, 22, 74);
/* oklch */ color: oklch(31.5% 0.109 331.5);
Tailwind
colors: {
  custom: {
    50: '#83597c',
    500: '#4f164a',
    950: '#000000',
  },
}
SCSS
$custom: #4f164a;
$custom-light: #83597c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f164a",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 74
  },
  "hsl": {
    "h": 305.263,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31538,
    "c": 0.10908,
    "h": 331.5
  },
  "luminance": 0.0273
}

Semantic roles & 50–950 ramp

primary
#4F164A
secondary
#3A8641
accent
#E05548
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #4F164A

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

Preview Lab → · Contrast checker → · Palette generator →

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