#4F424F#4F424F

#4F424F is a dark, muted purple. Relative luminance 0.061; OKLCH L 39.7% C 0.027 H 326.1°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#4F424F
RGBrgb(79, 66, 79)
HSLhsl(300, 9%, 28%)
HSVhsv(300, 16%, 31%)
CMYKcmyk(0%, 16.5%, 0%, 69%)
CIE-LABlab(29.72, 8.27, -5.73)
CIE-LCHlch(29.72, 10.06, 325.26°)
OKLaboklab(39.73% 0.0228 -0.0153)
OKLCHoklch(39.73% 0.027 326.1)
XYZxyz(6.5838, 6.1233, 8.2307)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F424F #424F42
analogous
#48424F #4F424F #4F4248
triadic
#4F424F #4F4F42 #424F4F
tetradic
#4F424F #4F4842 #424F42 #42484F
square
#4F424F #4F4842 #424F42 #42484F
split-complementary
#4F424F #484F42 #424F48
monochromatic
#110E11 #2E262E #4F424F #705E70 #917B91

Accessibility & contrast

On white

9.44
#4F424F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4F424F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F424F
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F424F#FFFFFF#000000##FFFFFF
##4F424F1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414550
Deuteranopia (green-blind)
#44474E
Tritanopia (blue-blind)
#504346
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4f424f;
/* rgb */ color: rgb(79, 66, 79);
/* oklch */ color: oklch(39.7% 0.027 326.1);
Tailwind
colors: {
  custom: {
    50: '#807680',
    500: '#4f424f',
    950: '#000000',
  },
}
SCSS
$custom: #4f424f;
$custom-light: #807680;
$custom-dark: #000000;
JSON
{
  "hex": "#4f424f",
  "rgb": {
    "r": 79,
    "g": 66,
    "b": 79
  },
  "hsl": {
    "h": 300,
    "s": 8.966,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39732,
    "c": 0.02745,
    "h": 326.1
  },
  "luminance": 0.06123
}

Semantic roles & 50–950 ramp

primary
#4F424F
secondary
#6F7E6F
accent
#B27676
background
#F7F7F7
surface
#EEEDEE
border
#C9C8C9
text
#0A080A
muted
#7C7B7C

Preview Lab

Preview with #4F424F

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

Preview Lab → · Contrast checker → · Palette generator →

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