#4C0C49#4C0C49

#4C0C49 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.9% C 0.119 H 330.2°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#4C0C49
RGBrgb(76, 12, 73)
HSLhsl(303, 73%, 17%)
HSVhsv(303, 84%, 30%)
CMYKcmyk(0%, 84.2%, 3.9%, 70.2%)
CIE-LABlab(16.90, 36.56, -21.51)
CIE-LCHlch(16.90, 42.42, 329.54°)
OKLaboklab(29.94% 0.1037 -0.0594)
OKLCHoklch(29.94% 0.119 330.2)
XYZxyz(4.3145, 2.2808, 6.5150)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0C49 #0C4C0F
analogous
#2F0C4C #4C0C49 #4C0C29
triadic
#4C0C49 #494C0C #0C494C
tetradic
#4C0C49 #4C2F0C #0C4C0F #0C294C
square
#4C0C49 #4C2F0C #0C4C0F #0C294C
split-complementary
#4C0C49 #294C0C #0C4C2F
monochromatic
#1A0419 #1A0419 #4C0C49 #81147C #B61DAF

Accessibility & contrast

On white

14.42
#4C0C49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4C0C49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0C49
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0C49#FFFFFF#000000##FFFFFF
##4C0C491.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04244B
Deuteranopia (green-blind)
#202D47
Tritanopia (blue-blind)
#4F152A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4c0c49;
/* rgb */ color: rgb(76, 12, 73);
/* oklch */ color: oklch(29.9% 0.119 330.2);
Tailwind
colors: {
  custom: {
    50: '#81547c',
    500: '#4c0c49',
    950: '#000000',
  },
}
SCSS
$custom: #4c0c49;
$custom-light: #81547c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0c49",
  "rgb": {
    "r": 76,
    "g": 12,
    "b": 73
  },
  "hsl": {
    "h": 302.813,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.29944,
    "c": 0.11947,
    "h": 330.2
  },
  "luminance": 0.0228
}

Semantic roles & 50–950 ramp

primary
#4C0C49
secondary
#2C8830
accent
#EF4138
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4C0C49

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

Preview Lab → · Contrast checker → · Palette generator →

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