#4C0C53#4C0C53

#4C0C53 is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.6% C 0.128 H 323.5°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#4C0C53
RGBrgb(76, 12, 83)
HSLhsl(294, 75%, 19%)
HSVhsv(294, 86%, 33%)
CMYKcmyk(8.4%, 85.5%, 0%, 67.5%)
CIE-LABlab(17.57, 38.46, -27.27)
CIE-LCHlch(17.57, 47.15, 324.66°)
OKLaboklab(30.64% 0.1031 -0.0762)
OKLCHoklch(30.64% 0.128 323.5)
XYZxyz(4.6732, 2.4243, 8.4037)
Luminance0.0242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0C53 #13530C
analogous
#280C53 #4C0C53 #530C36
triadic
#4C0C53 #534C0C #0C534C
tetradic
#4C0C53 #53280C #13530C #0C3653
square
#4C0C53 #53280C #13530C #0C3653
split-complementary
#4C0C53 #36530C #0C5328
monochromatic
#18041B #1B041E #4C0C53 #7D1488 #AE1BBE

Accessibility & contrast

On white

14.14
#4C0C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0C53
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0C53#FFFFFF#000000##FFFFFF
##4C0C531.0014.141.4814.14
#FFFFFF14.141.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002655
Deuteranopia (green-blind)
#192E51
Tritanopia (blue-blind)
#4D1A30
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4c0c53;
/* rgb */ color: rgb(76, 12, 83);
/* oklch */ color: oklch(30.6% 0.128 323.5);
Tailwind
colors: {
  custom: {
    50: '#815484',
    500: '#4c0c53',
    950: '#000000',
  },
}
SCSS
$custom: #4c0c53;
$custom-light: #815484;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0c53",
  "rgb": {
    "r": 76,
    "g": 12,
    "b": 83
  },
  "hsl": {
    "h": 294.085,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30642,
    "c": 0.12823,
    "h": 323.5
  },
  "luminance": 0.02424
}

Semantic roles & 50–950 ramp

primary
#4C0C53
secondary
#368E2D
accent
#F13649
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4C0C53

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

Preview Lab → · Contrast checker → · Palette generator →

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