#4C1354#4C1354

#4C1354 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.4% C 0.121 H 322.5°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#4C1354
RGBrgb(76, 19, 84)
HSLhsl(293, 63%, 20%)
HSVhsv(293, 77%, 33%)
CMYKcmyk(9.5%, 77.4%, 0%, 67.1%)
CIE-LABlab(18.55, 36.06, -26.38)
CIE-LCHlch(18.55, 44.68, 323.81°)
OKLaboklab(31.36% 0.096 -0.0736)
OKLCHoklch(31.36% 0.121 322.5)
XYZxyz(4.8134, 2.6426, 8.6423)
Luminance0.0264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1354 #1B5413
analogous
#2B1354 #4C1354 #54133C
triadic
#4C1354 #544C13 #13544C
tetradic
#4C1354 #542B13 #1B5413 #133C54
square
#4C1354 #542B13 #1B5413 #133C54
split-complementary
#4C1354 #3C5413 #13542B
monochromatic
#170619 #1F0822 #4C1354 #791E86 #A62AB8

Accessibility & contrast

On white

13.74
#4C1354 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4C1354 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1354
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1354#FFFFFF#000000##FFFFFF
##4C13541.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002956
Deuteranopia (green-blind)
#1C2F52
Tritanopia (blue-blind)
#4D1F32
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4c1354;
/* rgb */ color: rgb(76, 19, 84);
/* oklch */ color: oklch(31.4% 0.121 322.5);
Tailwind
colors: {
  custom: {
    50: '#815784',
    500: '#4c1354',
    950: '#000000',
  },
}
SCSS
$custom: #4c1354;
$custom-light: #815784;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1354",
  "rgb": {
    "r": 76,
    "g": 19,
    "b": 84
  },
  "hsl": {
    "h": 292.615,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.3136,
    "c": 0.12097,
    "h": 322.5
  },
  "luminance": 0.02642
}

Semantic roles & 50–950 ramp

primary
#4C1354
secondary
#418C36
accent
#E64256
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4C1354

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

Preview Lab → · Contrast checker → · Palette generator →

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