#4C1049#4C1049

#4C1049 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.3% C 0.115 H 330.1°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#4C1049
RGBrgb(76, 16, 73)
HSLhsl(303, 65%, 18%)
HSVhsv(303, 79%, 30%)
CMYKcmyk(0%, 78.9%, 3.9%, 70.2%)
CIE-LABlab(17.41, 35.11, -20.70)
CIE-LCHlch(17.41, 40.75, 329.48°)
OKLaboklab(30.31% 0.0995 -0.0571)
OKLCHoklch(30.31% 0.115 330.1)
XYZxyz(4.3684, 2.3885, 6.5330)
Luminance0.0239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1049 #104C13
analogous
#31104C #4C1049 #4C102B
triadic
#4C1049 #494C10 #10494C
tetradic
#4C1049 #4C3110 #104C13 #102B4C
square
#4C1049 #4C3110 #104C13 #102B4C
split-complementary
#4C1049 #2B4C10 #104C31
monochromatic
#190518 #190518 #4C1049 #7F1B7A #B125AA

Accessibility & contrast

On white

14.21
#4C1049 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4C1049 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1049
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1049#FFFFFF#000000##FFFFFF
##4C10491.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09264B
Deuteranopia (green-blind)
#222E48
Tritanopia (blue-blind)
#4F182B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4c1049;
/* rgb */ color: rgb(76, 16, 73);
/* oklch */ color: oklch(30.3% 0.115 330.1);
Tailwind
colors: {
  custom: {
    50: '#81557c',
    500: '#4c1049',
    950: '#000000',
  },
}
SCSS
$custom: #4c1049;
$custom-light: #81557c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1049",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 73
  },
  "hsl": {
    "h": 303,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30309,
    "c": 0.11469,
    "h": 330.1
  },
  "luminance": 0.02388
}

Semantic roles & 50–950 ramp

primary
#4C1049
secondary
#328636
accent
#E84840
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4C1049

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

Preview Lab → · Contrast checker → · Palette generator →

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