#4F314B#4F314B

#4F314B is a dark, muted purple. Relative luminance 0.044; OKLCH L 35.9% C 0.059 H 331.6°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#4F314B
RGBrgb(79, 49, 75)
HSLhsl(308, 23%, 25%)
HSVhsv(308, 38%, 31%)
CMYKcmyk(0%, 38%, 5.1%, 69%)
CIE-LABlab(24.85, 18.40, -10.46)
CIE-LCHlch(24.85, 21.16, 330.38°)
OKLaboklab(35.95% 0.0521 -0.0282)
OKLCHoklch(35.95% 0.059 331.6)
XYZxyz(5.5927, 4.3671, 7.2036)
Luminance0.0437 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F314B #314F35
analogous
#44314F #4F314B #4F313C
triadic
#4F314B #4B4F31 #314B4F
tetradic
#4F314B #4F4431 #314F35 #313C4F
square
#4F314B #4F4431 #314F35 #313C4F
split-complementary
#4F314B #3C4F31 #314F44
monochromatic
#130C12 #291A27 #4F314B #75486F #9B6093

Accessibility & contrast

On white

11.21
#4F314B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4F314B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F314B
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F314B#FFFFFF#000000##FFFFFF
##4F314B1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30384C
Deuteranopia (green-blind)
#383C4A
Tritanopia (blue-blind)
#51333A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4f314b;
/* rgb */ color: rgb(79, 49, 75);
/* oklch */ color: oklch(35.9% 0.059 331.6);
Tailwind
colors: {
  custom: {
    50: '#81697d',
    500: '#4f314b',
    950: '#000000',
  },
}
SCSS
$custom: #4f314b;
$custom-light: #81697d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f314b",
  "rgb": {
    "r": 79,
    "g": 49,
    "b": 75
  },
  "hsl": {
    "h": 308,
    "s": 23.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35947,
    "c": 0.05922,
    "h": 331.6
  },
  "luminance": 0.04367
}

Semantic roles & 50–950 ramp

primary
#4F314B
secondary
#5C8061
accent
#C07468
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A0609
muted
#7C7A7B

Preview Lab

Preview with #4F314B

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

Preview Lab → · Contrast checker → · Palette generator →

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