#4C1554#4C1554

#4C1554 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.6% C 0.118 H 322.3°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#4C1554
RGBrgb(76, 21, 84)
HSLhsl(292, 60%, 21%)
HSVhsv(292, 75%, 33%)
CMYKcmyk(9.5%, 75%, 0%, 67.1%)
CIE-LABlab(18.86, 35.19, -25.89)
CIE-LCHlch(18.86, 43.69, 323.66°)
OKLaboklab(31.58% 0.0936 -0.0722)
OKLCHoklch(31.58% 0.118 322.3)
XYZxyz(4.8487, 2.7132, 8.6541)
Luminance0.0271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1554 #1D5415
analogous
#2C1554 #4C1554 #54153C
triadic
#4C1554 #544C15 #15544C
tetradic
#4C1554 #542C15 #1D5415 #153C54
square
#4C1554 #542C15 #1D5415 #153C54
split-complementary
#4C1554 #3C5415 #15542C
monochromatic
#160618 #200923 #4C1554 #782185 #A52DB6

Accessibility & contrast

On white

13.61
#4C1554 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4C1554 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1554
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1554#FFFFFF#000000##FFFFFF
##4C15541.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022A56
Deuteranopia (green-blind)
#1E3052
Tritanopia (blue-blind)
#4D2032
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4c1554;
/* rgb */ color: rgb(76, 21, 84);
/* oklch */ color: oklch(31.6% 0.118 322.3);
Tailwind
colors: {
  custom: {
    50: '#805884',
    500: '#4c1554',
    950: '#000000',
  },
}
SCSS
$custom: #4c1554;
$custom-light: #805884;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1554",
  "rgb": {
    "r": 76,
    "g": 21,
    "b": 84
  },
  "hsl": {
    "h": 292.381,
    "s": 60,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31579,
    "c": 0.11826,
    "h": 322.3
  },
  "luminance": 0.02713
}

Semantic roles & 50–950 ramp

primary
#4C1554
secondary
#448C39
accent
#E34559
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A040B
muted
#7C797C

Preview Lab

Preview with #4C1554

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

Preview Lab → · Contrast checker → · Palette generator →

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