#4C0D54#4C0D54

#4C0D54 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.8% C 0.128 H 322.9°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#4C0D54
RGBrgb(76, 13, 84)
HSLhsl(293, 73%, 19%)
HSVhsv(293, 85%, 33%)
CMYKcmyk(9.5%, 84.5%, 0%, 67.1%)
CIE-LABlab(17.76, 38.33, -27.65)
CIE-LCHlch(17.76, 47.26, 324.20°)
OKLaboklab(30.8% 0.1021 -0.0773)
OKLCHoklch(30.8% 0.128 322.9)
XYZxyz(4.7245, 2.4647, 8.6127)
Luminance0.0246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0D54 #15540D
analogous
#290D54 #4C0D54 #540D39
triadic
#4C0D54 #544C0D #0D544C
tetradic
#4C0D54 #54290D #15540D #0D3954
square
#4C0D54 #54290D #15540D #0D3954
split-complementary
#4C0D54 #39540D #0D5429
monochromatic
#18041A #1C051F #4C0D54 #7C1589 #AC1DBE

Accessibility & contrast

On white

14.07
#4C0D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4C0D54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0D54
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0D54#FFFFFF#000000##FFFFFF
##4C0D541.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002756
Deuteranopia (green-blind)
#192E52
Tritanopia (blue-blind)
#4D1B30
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4c0d54;
/* rgb */ color: rgb(76, 13, 84);
/* oklch */ color: oklch(30.8% 0.128 322.9);
Tailwind
colors: {
  custom: {
    50: '#815584',
    500: '#4c0d54',
    950: '#000000',
  },
}
SCSS
$custom: #4c0d54;
$custom-light: #815584;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0d54",
  "rgb": {
    "r": 76,
    "g": 13,
    "b": 84
  },
  "hsl": {
    "h": 293.239,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30796,
    "c": 0.12809,
    "h": 322.9
  },
  "luminance": 0.02464
}

Semantic roles & 50–950 ramp

primary
#4C0D54
secondary
#398F2E
accent
#F0384D
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4C0D54

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

Preview Lab → · Contrast checker → · Palette generator →

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