#4F476A#4F476A

#4F476A is a dark, muted violet. Relative luminance 0.072; OKLCH L 42.1% C 0.058 H 294.3°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#4F476A
RGBrgb(79, 71, 106)
HSLhsl(254, 20%, 35%)
HSVhsv(254, 33%, 42%)
CMYKcmyk(25.5%, 33%, 0%, 58.4%)
CIE-LABlab(32.28, 11.74, -19.13)
CIE-LCHlch(32.28, 22.44, 301.54°)
OKLaboklab(42.07% 0.0238 -0.0529)
OKLCHoklch(42.07% 0.058 294.3)
XYZxyz(8.0786, 7.2093, 14.5988)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F476A #626A47
analogous
#47516A #4F476A #61476A
triadic
#4F476A #6A4F47 #476A4F
tetradic
#4F476A #6A4751 #626A47 #476A61
square
#4F476A #6A4751 #626A47 #476A61
split-complementary
#4F476A #6A6147 #516A47
monochromatic
#181621 #342E45 #4F476A #6A608F #8A81AB

Accessibility & contrast

On white

8.60
#4F476A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4F476A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F476A
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F476A#FFFFFF#000000##FFFFFF
##4F476A1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4C6B
Deuteranopia (green-blind)
#3F4B69
Tritanopia (blue-blind)
#4A4D54
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4f476a;
/* rgb */ color: rgb(79, 71, 106);
/* oklch */ color: oklch(42.1% 0.058 294.3);
Tailwind
colors: {
  custom: {
    50: '#817a94',
    500: '#4f476a',
    950: '#000000',
  },
}
SCSS
$custom: #4f476a;
$custom-light: #817a94;
$custom-dark: #000000;
JSON
{
  "hex": "#4f476a",
  "rgb": {
    "r": 79,
    "g": 71,
    "b": 106
  },
  "hsl": {
    "h": 253.714,
    "s": 19.774,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42074,
    "c": 0.05803,
    "h": 294.3
  },
  "luminance": 0.07209
}

Semantic roles & 50–950 ramp

primary
#4F476A
secondary
#8F9776
accent
#BC6BAA
background
#F7F7F9
surface
#EEEDF1
border
#C9C8CB
text
#0A090D
muted
#7C7B7E

Preview Lab

Preview with #4F476A

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

Preview Lab → · Contrast checker → · Palette generator →

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