#4F164D#4F164D

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

Color values

HEX#4F164D
RGBrgb(79, 22, 77)
HSLhsl(302, 56%, 20%)
HSVhsv(302, 72%, 31%)
CMYKcmyk(0%, 72.2%, 2.5%, 69%)
CIE-LABlab(19.11, 34.14, -20.72)
CIE-LCHlch(19.11, 39.93, 328.75°)
OKLaboklab(31.72% 0.0961 -0.0571)
OKLCHoklch(31.72% 0.112 329.3)
XYZxyz(4.8509, 2.7723, 7.2993)
Luminance0.0277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F164D #164F18
analogous
#34164F #4F164D #4F1631
triadic
#4F164D #4D4F16 #164D4F
tetradic
#4F164D #4F3416 #164F18 #16314F
square
#4F164D #4F3416 #164F18 #16314F
split-complementary
#4F164D #314F16 #164F34
monochromatic
#180717 #1F091E #4F164D #7F237C #AF31AA

Accessibility & contrast

On white

13.51
#4F164D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F164D
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F164D#FFFFFF#000000##FFFFFF
##4F164D1.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10294F
Deuteranopia (green-blind)
#25314C
Tritanopia (blue-blind)
#521D2F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4f164d;
/* rgb */ color: rgb(79, 22, 77);
/* oklch */ color: oklch(31.7% 0.112 329.3);
Tailwind
colors: {
  custom: {
    50: '#83597f',
    500: '#4f164d',
    950: '#000000',
  },
}
SCSS
$custom: #4f164d;
$custom-light: #83597f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f164d",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 77
  },
  "hsl": {
    "h": 302.105,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31722,
    "c": 0.11182,
    "h": 329.3
  },
  "luminance": 0.02772
}

Semantic roles & 50–950 ramp

primary
#4F164D
secondary
#3A863D
accent
#E04D48
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4F164D

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

Preview Lab → · Contrast checker → · Palette generator →

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