#4F164B#4F164B

#4F164B is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.6% C 0.110 H 330.8°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#4F164B
RGBrgb(79, 22, 75)
HSLhsl(304, 56%, 20%)
HSVhsv(304, 72%, 31%)
CMYKcmyk(0%, 72.2%, 5.1%, 69%)
CIE-LABlab(18.99, 33.76, -19.54)
CIE-LCHlch(18.99, 39.00, 329.94°)
OKLaboklab(31.6% 0.096 -0.0537)
OKLCHoklch(31.6% 0.11 330.8)
XYZxyz(4.7813, 2.7444, 6.9331)
Luminance0.0274 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F164B #164F1A
analogous
#37164F #4F164B #4F162E
triadic
#4F164B #4B4F16 #164B4F
tetradic
#4F164B #4F3716 #164F1A #162E4F
square
#4F164B #4F3716 #164F1A #162E4F
split-complementary
#4F164B #2E4F16 #164F37
monochromatic
#180717 #1F091E #4F164B #7F2378 #AF31A6

Accessibility & contrast

On white

13.56
#4F164B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F164B
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F164B#FFFFFF#000000##FFFFFF
##4F164B1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12294D
Deuteranopia (green-blind)
#26314A
Tritanopia (blue-blind)
#521C2E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4f164b;
/* rgb */ color: rgb(79, 22, 75);
/* oklch */ color: oklch(31.6% 0.110 330.8);
Tailwind
colors: {
  custom: {
    50: '#83597d',
    500: '#4f164b',
    950: '#000000',
  },
}
SCSS
$custom: #4f164b;
$custom-light: #83597d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f164b",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 75
  },
  "hsl": {
    "h": 304.211,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31599,
    "c": 0.10998,
    "h": 330.8
  },
  "luminance": 0.02744
}

Semantic roles & 50–950 ramp

primary
#4F164B
secondary
#3A8640
accent
#E05348
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #4F164B

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

Preview Lab → · Contrast checker → · Palette generator →

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