#4C1353#4C1353

#4C1353 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.3% C 0.120 H 323.1°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#4C1353
RGBrgb(76, 19, 83)
HSLhsl(293, 63%, 20%)
HSVhsv(293, 77%, 33%)
CMYKcmyk(8.4%, 77.1%, 0%, 67.5%)
CIE-LABlab(18.48, 35.85, -25.81)
CIE-LCHlch(18.48, 44.18, 324.25°)
OKLaboklab(31.29% 0.096 -0.072)
OKLCHoklch(31.29% 0.12 323.1)
XYZxyz(4.7745, 2.6271, 8.4375)
Luminance0.0263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1353 #1A5313
analogous
#2C1353 #4C1353 #53133A
triadic
#4C1353 #534C13 #13534C
tetradic
#4C1353 #532C13 #1A5313 #133A53
square
#4C1353 #532C13 #1A5313 #133A53
split-complementary
#4C1353 #3A5313 #13532C
monochromatic
#170619 #1E0821 #4C1353 #7A1E85 #A72AB7

Accessibility & contrast

On white

13.77
#4C1353 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C1353
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1353#FFFFFF#000000##FFFFFF
##4C13531.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002955
Deuteranopia (green-blind)
#1D2F51
Tritanopia (blue-blind)
#4D1E31
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4c1353;
/* rgb */ color: rgb(76, 19, 83);
/* oklch */ color: oklch(31.3% 0.120 323.1);
Tailwind
colors: {
  custom: {
    50: '#815784',
    500: '#4c1353',
    950: '#000000',
  },
}
SCSS
$custom: #4c1353;
$custom-light: #815784;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1353",
  "rgb": {
    "r": 76,
    "g": 19,
    "b": 83
  },
  "hsl": {
    "h": 293.438,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.3129,
    "c": 0.12001,
    "h": 323.1
  },
  "luminance": 0.02627
}

Semantic roles & 50–950 ramp

primary
#4C1353
secondary
#408B36
accent
#E64254
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #4C1353

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

Preview Lab → · Contrast checker → · Palette generator →

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