#4C0D47#4C0D47

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

Color values

HEX#4C0D47
RGBrgb(76, 13, 71)
HSLhsl(305, 71%, 17%)
HSVhsv(305, 83%, 30%)
CMYKcmyk(0%, 82.9%, 6.6%, 70.2%)
CIE-LABlab(16.89, 35.86, -20.13)
CIE-LCHlch(16.89, 41.13, 330.69°)
OKLaboklab(29.9% 0.1026 -0.0554)
OKLCHoklch(29.9% 0.117 331.6)
XYZxyz(4.2618, 2.2796, 6.1756)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0D47 #0D4C12
analogous
#320D4C #4C0D47 #4C0D27
triadic
#4C0D47 #474C0D #0D474C
tetradic
#4C0D47 #4C320D #0D4C12 #0D274C
square
#4C0D47 #4C320D #0D4C12 #0D274C
split-complementary
#4C0D47 #274C0D #0D4C32
monochromatic
#1A0418 #1A0418 #4C0D47 #801678 #B51FA9

Accessibility & contrast

On white

14.43
#4C0D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0D47
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0D47#FFFFFF#000000##FFFFFF
##4C0D471.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082449
Deuteranopia (green-blind)
#222D45
Tritanopia (blue-blind)
#4F1529
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4c0d47;
/* rgb */ color: rgb(76, 13, 71);
/* oklch */ color: oklch(29.9% 0.117 331.6);
Tailwind
colors: {
  custom: {
    50: '#81547a',
    500: '#4c0d47',
    950: '#000000',
  },
}
SCSS
$custom: #4c0d47;
$custom-light: #81547a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0d47",
  "rgb": {
    "r": 76,
    "g": 13,
    "b": 71
  },
  "hsl": {
    "h": 304.762,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.299,
    "c": 0.11664,
    "h": 331.6
  },
  "luminance": 0.02279
}

Semantic roles & 50–950 ramp

primary
#4C0D47
secondary
#2E8735
accent
#EE483A
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4C0D47

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

Preview Lab → · Contrast checker → · Palette generator →

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