#4C1352#4C1352

#4C1352 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.2% C 0.119 H 323.8°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#4C1352
RGBrgb(76, 19, 82)
HSLhsl(294, 62%, 20%)
HSVhsv(294, 77%, 32%)
CMYKcmyk(7.3%, 76.8%, 0%, 67.8%)
CIE-LABlab(18.42, 35.65, -25.24)
CIE-LCHlch(18.42, 43.68, 324.70°)
OKLaboklab(31.22% 0.096 -0.0703)
OKLCHoklch(31.22% 0.119 323.8)
XYZxyz(4.7362, 2.6117, 8.2357)
Luminance0.0261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1352 #195213
analogous
#2D1352 #4C1352 #521338
triadic
#4C1352 #524C13 #13524C
tetradic
#4C1352 #522D13 #195213 #133852
square
#4C1352 #522D13 #195213 #133852
split-complementary
#4C1352 #385213 #13522D
monochromatic
#170619 #1E0720 #4C1352 #7A1F84 #A82AB5

Accessibility & contrast

On white

13.80
#4C1352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4C1352 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1352
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1352#FFFFFF#000000##FFFFFF
##4C13521.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c1352;
/* rgb */ color: rgb(76, 19, 82);
/* oklch */ color: oklch(31.2% 0.119 323.8);
Tailwind
colors: {
  custom: {
    50: '#815783',
    500: '#4c1352',
    950: '#000000',
  },
}
SCSS
$custom: #4c1352;
$custom-light: #815783;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1352",
  "rgb": {
    "r": 76,
    "g": 19,
    "b": 82
  },
  "hsl": {
    "h": 294.286,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.3122,
    "c": 0.11904,
    "h": 323.8
  },
  "luminance": 0.02611
}

Semantic roles & 50–950 ramp

primary
#4C1352
secondary
#3E8A36
accent
#E54252
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4C1352

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

Preview Lab → · Contrast checker → · Palette generator →

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