#4C314F#4C314F

#4C314F is a dark, moderate purple. Relative luminance 0.043; OKLCH L 35.8% C 0.061 H 323.3°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#4C314F
RGBrgb(76, 49, 79)
HSLhsl(294, 23%, 25%)
HSVhsv(294, 38%, 31%)
CMYKcmyk(3.8%, 38%, 0%, 69%)
CIE-LABlab(24.63, 18.14, -13.49)
CIE-LCHlch(24.63, 22.60, 323.36°)
OKLaboklab(35.75% 0.0492 -0.0368)
OKLCHoklch(35.75% 0.061 323.3)
XYZxyz(5.4899, 4.2978, 7.9360)
Luminance0.0430 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C314F #344F31
analogous
#3D314F #4C314F #4F3143
triadic
#4C314F #4F4C31 #314F4C
tetradic
#4C314F #4F3D31 #344F31 #31434F
square
#4C314F #4F3D31 #344F31 #31434F
split-complementary
#4C314F #434F31 #314F3D
monochromatic
#120C13 #281A29 #4C314F #704875 #95609B

Accessibility & contrast

On white

11.29
#4C314F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4C314F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C314F
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C314F#FFFFFF#000000##FFFFFF
##4C314F1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3850
Deuteranopia (green-blind)
#353C4E
Tritanopia (blue-blind)
#4D343C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4c314f;
/* rgb */ color: rgb(76, 49, 79);
/* oklch */ color: oklch(35.8% 0.061 323.3);
Tailwind
colors: {
  custom: {
    50: '#7e6980',
    500: '#4c314f',
    950: '#000000',
  },
}
SCSS
$custom: #4c314f;
$custom-light: #7e6980;
$custom-dark: #000000;
JSON
{
  "hex": "#4c314f",
  "rgb": {
    "r": 76,
    "g": 49,
    "b": 79
  },
  "hsl": {
    "h": 294,
    "s": 23.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35753,
    "c": 0.06144,
    "h": 323.3
  },
  "luminance": 0.04298
}

Semantic roles & 50–950 ramp

primary
#4C314F
secondary
#5F805C
accent
#C06871
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A060A
muted
#7C7A7C

Preview Lab

Preview with #4C314F

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

Preview Lab → · Contrast checker → · Palette generator →

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