#4C0D49#4C0D49

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

Color values

HEX#4C0D49
RGBrgb(76, 13, 73)
HSLhsl(303, 71%, 17%)
HSVhsv(303, 83%, 30%)
CMYKcmyk(0%, 82.9%, 3.9%, 70.2%)
CIE-LABlab(17.02, 36.22, -21.32)
CIE-LCHlch(17.02, 42.03, 329.52°)
OKLaboklab(30.03% 0.1027 -0.0589)
OKLCHoklch(30.03% 0.118 330.2)
XYZxyz(4.3270, 2.3057, 6.5192)
Luminance0.0231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0D49 #0D4C10
analogous
#2F0D4C #4C0D49 #4C0D2A
triadic
#4C0D49 #494C0D #0D494C
tetradic
#4C0D49 #4C2F0D #0D4C10 #0D2A4C
square
#4C0D49 #4C2F0D #0D4C10 #0D2A4C
split-complementary
#4C0D49 #2A4C0D #0D4C2F
monochromatic
#1A0419 #1A0419 #4C0D49 #80167B #B51FAD

Accessibility & contrast

On white

14.37
#4C0D49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0D49
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0D49#FFFFFF#000000##FFFFFF
##4C0D491.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c0d49;
/* rgb */ color: rgb(76, 13, 73);
/* oklch */ color: oklch(30.0% 0.118 330.2);
Tailwind
colors: {
  custom: {
    50: '#81547c',
    500: '#4c0d49',
    950: '#000000',
  },
}
SCSS
$custom: #4c0d49;
$custom-light: #81547c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0d49",
  "rgb": {
    "r": 76,
    "g": 13,
    "b": 73
  },
  "hsl": {
    "h": 302.857,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.3003,
    "c": 0.11835,
    "h": 330.2
  },
  "luminance": 0.02305
}

Semantic roles & 50–950 ramp

primary
#4C0D49
secondary
#2E8732
accent
#EE433A
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4C0D49

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

Preview Lab → · Contrast checker → · Palette generator →

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