#4F164C#4F164C

#4F164C is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.7% C 0.111 H 330.0°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#4F164C
RGBrgb(79, 22, 76)
HSLhsl(303, 56%, 20%)
HSVhsv(303, 72%, 31%)
CMYKcmyk(0%, 72.2%, 3.8%, 69%)
CIE-LABlab(19.05, 33.95, -20.13)
CIE-LCHlch(19.05, 39.47, 329.34°)
OKLaboklab(31.66% 0.0961 -0.0554)
OKLCHoklch(31.66% 0.111 330)
XYZxyz(4.8158, 2.7582, 7.1148)
Luminance0.0276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F164C #164F19
analogous
#36164F #4F164C #4F1630
triadic
#4F164C #4C4F16 #164C4F
tetradic
#4F164C #4F3616 #164F19 #16304F
square
#4F164C #4F3616 #164F19 #16304F
split-complementary
#4F164C #304F16 #164F36
monochromatic
#180717 #1F091E #4F164C #7F237A #AF31A8

Accessibility & contrast

On white

13.53
#4F164C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F164C
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F164C#FFFFFF#000000##FFFFFF
##4F164C1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11294E
Deuteranopia (green-blind)
#26314B
Tritanopia (blue-blind)
#521D2F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4f164c;
/* rgb */ color: rgb(79, 22, 76);
/* oklch */ color: oklch(31.7% 0.111 330.0);
Tailwind
colors: {
  custom: {
    50: '#83597e',
    500: '#4f164c',
    950: '#000000',
  },
}
SCSS
$custom: #4f164c;
$custom-light: #83597e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f164c",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 76
  },
  "hsl": {
    "h": 303.158,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.3166,
    "c": 0.11091,
    "h": 330
  },
  "luminance": 0.02758
}

Semantic roles & 50–950 ramp

primary
#4F164C
secondary
#3A863E
accent
#E05048
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4F164C

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

Preview Lab → · Contrast checker → · Palette generator →

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