#4C4052#4C4052

#4C4052 is a dark, muted purple. Relative luminance 0.058; OKLCH L 39.1% C 0.034 H 314.4°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#4C4052
RGBrgb(76, 64, 82)
HSLhsl(280, 12%, 29%)
HSVhsv(280, 22%, 32%)
CMYKcmyk(7.3%, 22%, 0%, 67.8%)
CIE-LABlab(28.93, 9.06, -8.90)
CIE-LCHlch(28.93, 12.70, 315.52°)
OKLaboklab(39.09% 0.0236 -0.024)
OKLCHoklch(39.09% 0.034 314.4)
XYZxyz(6.3366, 5.8126, 8.7691)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4052 #465240
analogous
#434052 #4C4052 #52404F
triadic
#4C4052 #524C40 #40524C
tetradic
#4C4052 #524340 #465240 #404F52
square
#4C4052 #524340 #465240 #404F52
split-complementary
#4C4052 #4F5240 #405243
monochromatic
#100D11 #2C2530 #4C4052 #6C5B74 #8B7795

Accessibility & contrast

On white

9.71
#4C4052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4C4052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4052
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4052#FFFFFF#000000##FFFFFF
##4C40521.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4353
Deuteranopia (green-blind)
#404551
Tritanopia (blue-blind)
#4C4246
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4c4052;
/* rgb */ color: rgb(76, 64, 82);
/* oklch */ color: oklch(39.1% 0.034 314.4);
Tailwind
colors: {
  custom: {
    50: '#7e7482',
    500: '#4c4052',
    950: '#000000',
  },
}
SCSS
$custom: #4c4052;
$custom-light: #7e7482;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4052",
  "rgb": {
    "r": 76,
    "g": 64,
    "b": 82
  },
  "hsl": {
    "h": 280,
    "s": 12.329,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39086,
    "c": 0.03365,
    "h": 314.4
  },
  "luminance": 0.05812
}

Semantic roles & 50–950 ramp

primary
#4C4052
secondary
#73816D
accent
#B57389
background
#F7F7F7
surface
#EEEDEE
border
#C9C8C9
text
#0A080A
muted
#7C7B7C

Preview Lab

Preview with #4C4052

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

Preview Lab → · Contrast checker → · Palette generator →

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