#4C304A#4C304A

#4C304A is a dark, muted purple. Relative luminance 0.041; OKLCH L 35.3% C 0.058 H 329.2°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#4C304A
RGBrgb(76, 48, 74)
HSLhsl(304, 23%, 24%)
HSVhsv(304, 37%, 30%)
CMYKcmyk(0%, 36.8%, 2.6%, 70.2%)
CIE-LABlab(24.15, 17.66, -10.90)
CIE-LCHlch(24.15, 20.76, 328.31°)
OKLaboklab(35.31% 0.0495 -0.0295)
OKLCHoklch(35.31% 0.058 329.2)
XYZxyz(5.2734, 4.1450, 6.9995)
Luminance0.0415 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C304A #304C32
analogous
#40304C #4C304A #4C303C
triadic
#4C304A #4A4C30 #304A4C
tetradic
#4C304A #4C4030 #304C32 #303C4C
square
#4C304A #4C4030 #304C32 #303C4C
split-complementary
#4C304A #3C4C30 #304C40
monochromatic
#130C12 #261825 #4C304A #72486F #975F93

Accessibility & contrast

On white

11.48
#4C304A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4C304A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C304A
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C304A#FFFFFF#000000##FFFFFF
##4C304A1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F374B
Deuteranopia (green-blind)
#363B49
Tritanopia (blue-blind)
#4E3239
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4c304a;
/* rgb */ color: rgb(76, 48, 74);
/* oklch */ color: oklch(35.3% 0.058 329.2);
Tailwind
colors: {
  custom: {
    50: '#7e697c',
    500: '#4c304a',
    950: '#000000',
  },
}
SCSS
$custom: #4c304a;
$custom-light: #7e697c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c304a",
  "rgb": {
    "r": 76,
    "g": 48,
    "b": 74
  },
  "hsl": {
    "h": 304.286,
    "s": 22.581,
    "l": 24.314
  },
  "oklch": {
    "l": 0.3531,
    "c": 0.05759,
    "h": 329.2
  },
  "luminance": 0.04145
}

Semantic roles & 50–950 ramp

primary
#4C304A
secondary
#5B7D5D
accent
#BF6F69
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A0609
muted
#7C7A7B

Preview Lab

Preview with #4C304A

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

Preview Lab → · Contrast checker → · Palette generator →

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