#4C4252#4C4252

#4C4252 is a dark, muted violet. Relative luminance 0.060; OKLCH L 39.5% C 0.029 H 312.8°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#4C4252
RGBrgb(76, 66, 82)
HSLhsl(278, 11%, 29%)
HSVhsv(278, 20%, 32%)
CMYKcmyk(7.3%, 19.5%, 0%, 67.8%)
CIE-LABlab(29.52, 7.76, -8.01)
CIE-LCHlch(29.52, 11.15, 314.06°)
OKLaboklab(39.54% 0.02 -0.0216)
OKLCHoklch(39.54% 0.029 312.8)
XYZxyz(6.4514, 6.0422, 8.8074)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4252 #485242
analogous
#444252 #4C4252 #524250
triadic
#4C4252 #524C42 #42524C
tetradic
#4C4252 #524442 #485242 #425052
square
#4C4252 #524442 #485242 #425052
split-complementary
#4C4252 #505242 #425244
monochromatic
#100E11 #2D2730 #4C4252 #6B5D74 #8A7A94

Accessibility & contrast

On white

9.51
#4C4252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4C4252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4252
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4252#FFFFFF#000000##FFFFFF
##4C42521.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404553
Deuteranopia (green-blind)
#424651
Tritanopia (blue-blind)
#4C4447
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4c4252;
/* rgb */ color: rgb(76, 66, 82);
/* oklch */ color: oklch(39.5% 0.029 312.8);
Tailwind
colors: {
  custom: {
    50: '#7e7682',
    500: '#4c4252',
    950: '#000000',
  },
}
SCSS
$custom: #4c4252;
$custom-light: #7e7682;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4252",
  "rgb": {
    "r": 76,
    "g": 66,
    "b": 82
  },
  "hsl": {
    "h": 277.5,
    "s": 10.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39537,
    "c": 0.02947,
    "h": 312.8
  },
  "luminance": 0.06042
}

Semantic roles & 50–950 ramp

primary
#4C4252
secondary
#76816F
accent
#B4748C
background
#F7F7F7
surface
#EEEDEE
border
#C9C8C9
text
#09080A
muted
#7B7B7C

Preview Lab

Preview with #4C4252

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

Preview Lab → · Contrast checker → · Palette generator →

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