#4C1561#4C1561

#4C1561 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.5% C 0.131 H 314.7°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#4C1561
RGBrgb(76, 21, 97)
HSLhsl(283, 64%, 23%)
HSVhsv(283, 78%, 38%)
CMYKcmyk(21.6%, 78.4%, 0%, 62%)
CIE-LABlab(19.79, 38.04, -33.08)
CIE-LCHlch(19.79, 50.41, 318.99°)
OKLaboklab(32.54% 0.0925 -0.0933)
OKLCHoklch(32.54% 0.131 314.7)
XYZxyz(5.4060, 2.9361, 11.5889)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1561 #2A6115
analogous
#261561 #4C1561 #611550
triadic
#4C1561 #614C15 #15614C
tetradic
#4C1561 #612615 #2A6115 #155061
square
#4C1561 #612615 #2A6115 #155061
split-complementary
#4C1561 #506115 #156126
monochromatic
#140519 #250A2F #4C1561 #732093 #9B2BC6

Accessibility & contrast

On white

13.23
#4C1561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4C1561 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1561
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1561#FFFFFF#000000##FFFFFF
##4C15611.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D63
Deuteranopia (green-blind)
#11315F
Tritanopia (blue-blind)
#4A263A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4c1561;
/* rgb */ color: rgb(76, 21, 97);
/* oklch */ color: oklch(32.5% 0.131 314.7);
Tailwind
colors: {
  custom: {
    50: '#81598e',
    500: '#4c1561',
    950: '#000000',
  },
}
SCSS
$custom: #4c1561;
$custom-light: #81598e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1561",
  "rgb": {
    "r": 76,
    "g": 21,
    "b": 97
  },
  "hsl": {
    "h": 283.421,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32539,
    "c": 0.13135,
    "h": 314.7
  },
  "luminance": 0.02936
}

Semantic roles & 50–950 ramp

primary
#4C1561
secondary
#54983A
accent
#E7406F
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4C1561

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

Preview Lab → · Contrast checker → · Palette generator →

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